Latest Register Log In

+ Advanced Search

Excessive Page Caching

Excessive Page Caching
By
11/16/11 (Edited 03/11/14)

Sometimes, on certain web servers, over-aggressive browser page caching is triggered which leaves you frustratedly seeing old versions of pages. To prevent such caching you can apply this special .htaccess code:
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"


If you're using URL rewriting, enter the above in the extra .htaccess content box at Admin -> Settings -> SEO so that it'll get included every time the .htaccess is recreated. If not using URL writing, you can make your own .htaccess file with that content in the directory where you've installed WSN.




Description What to do when you keep getting cached versions of pages.
Rating
Views 174 views. Averaging 0 views per day.