In this article, we are going to see, how to disable cache in asp.net
The following configuration sample adds an HTTP "Cache-Control: no-cache" header to the response, thereby disabling caching of requests.
Web.config :
<configuration>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</configuration>
0 Comments
if you have any doubts , please let me know