Edward BreyEdward Brey forty one.9k2121 gold badges212212 silver badges268268 bronze badges 1 Unfortunately this does not show up to work, as hitting the back button following a sign out displays the page.
On second believed I discourage all to implement ClearHeaders strategy. It's superior to eliminate headers separately. And also to set Cache-Control header properly I am utilizing this code:
Just one Option will be to go a timestamp to ensure ie thinks it's a different http service request. That worked for me, so introducing a server side scripting code snippet to automatically update this tag wouldn't harm:
Naturally, this will not be attainable for being carried out across the entire site, but at least for a few critical pages, you are able to do that. Hope this helps.
.. You ought to under no circumstances incorporate a dependency for anything you can do in a few lines of code yourself. Performing it yourself just isn't reinventing the wheel and more than utilizing a for loop is as opposed to some "loop" deal.
bobincebobince 537k111111 gold badges672672 silver badges844844 bronze badges 3 @bobince, Thanks! I will retain this in your mind if I have any issues with web proxies, but my "team" retains me fully around the front-stop and provides me no access for the headers.
I'd no luck with things. Introducing HTTP cache relevant parameters directly (outside in the HTML doc) does certainly work for me.
In other terms NoCache attribute would not leak to other actions if they execute child actions. Also, the class name really should be NoCacheAttribute to comply with generally recognized naming convention for attributes.
It turned out the name of your perspective I had been getting the trouble with was named 'Modern'. Apparently this confused the Internet Explorer browser.
When installed as a middleware it sets four headers, disabling loads of browser caching. This is certainly the entire list of the updated headers.
Sending the same header two times or in dozen parts. Some PHP snippets out there really replace past headers, resulting in only the last just one getting sent.
But I also study that this doesn't work in certain versions of IE. Are there any set of tags that will flip off cache in all browsers?
I exploit to accomplish a little something like RUN ls . and change it to Operate ls ./ then RUN ls ./. and so on for every modification done about the tarball retrieved by wget
I haven't tried it nevertheless, even so the OP's location (environment the headers from the ASP page itself) is more info most likely much better.