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:

  • web.config caching profile -
  • web.config client cache -
  • Meta Tags -
  • 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

    Popular posts from this blog

    java - Can't add JTree to JPanel of a JInternalFrame -

    javascript - data.match(var) not working it seems -

    javascript - How can I pause a jQuery .each() loop, while waiting for user input? -