tag:blogger.com,1999:blog-6082652835152798567.post1207765889495075253..comments2024-03-28T21:41:58.974-07:00Comments on Sql server, .net and c# video tutorial: Caching multiple responses for a single webform - Part 120Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6082652835152798567.post-70534599012242040712014-09-04T10:18:11.431-07:002014-09-04T10:18:11.431-07:00Hello Sir....After google search i got one fine ar...Hello Sir....After google search i got one fine article which says....<br /><br />Leaving the VaryByParam attribute set to 'none', as shown in Listing 9-1, means that one copy of the page will be cached for each request type (GET, HEAD, or POST). Subsequent requests of the same type will be served a cached response for that type of request. Table 9-1 shows the complete set of attributes available with the OutputCache directive.<br /><br />I believe this is the answer of the question.......So when the load is done first time it is a get request and it is cached....When dropdown changes it is post request and it is seperately cached.....After that all post request will be served from cached page being build because of Post request type and all get request will be served from cached page being build because of get request type.....Thus depending upon the request type there can be multiple cache pages even if VaryByParam=None..........AshishKalrahttps://www.blogger.com/profile/14512806515878434921noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-6219720656593268832014-09-03T13:11:29.531-07:002014-09-03T13:11:29.531-07:00Respected Sir,
Please tell me why caching of the ...Respected Sir,<br /><br />Please tell me why caching of the web form hasn't happened at the page load when VaryByParam=None.......Why ASP.Net engine allowed drop-down change result to be displayed first time and then cached result for subsequent request till the cache time expires......When i loaded the form it should have cached at that time why it cached after first dropdown change event.......Is there any reason for this....Please tell me....AshishKalrahttps://www.blogger.com/profile/14512806515878434921noreply@blogger.com