asp.net - How to disable caching of single page application HTML file served through IIS? -
I have a single page application (angle-JS) which is served through IIS. How do I stop caching of HTML files? Any index or web content Convergence must be solved, because access to IIS through the management console is not possible.
Some options which I am currently investigating:
IIS version is 7.5 with .NET Framework 4
the web. In the configured solution, work in Chrome, IE, Firefox, and Safari:
& Lt; / CustomHeaders & gt; & Lt; / HttpProtocol & gt; & Lt; /system.webServer> & Lt; / Location & gt; & Lt; / Configuration & gt;
will ensure that the cache-control
header is set to no-cache
when the request index.html
.
Comments
Post a Comment