Caching Fixes

Sysop

There has been a on-going issue with some readers not getting updates through in a timely fashion in the sidebars when posts and comments are updated. A similar issue has shown with people using the same proxy server winding up sharing their cookies. I’ve checked the back end caching throughly so I’m confident that it is not on the server side, and is out on the client side.

I’ve changed the .htaccess to consider everything to be non-cached unless stated otherwise (images, css, javascript), to expire at time of access (ExpiresDefault “access”). To assist with the older and dumber caching proxies, I’ve also put a plugin to add the following header lines to the HTML of dynamic pages:-

<META Http-Equiv=’Cache-Control’ Content=’no-cache’>

<META Http-Equiv=’Pragma’ Content=’no-cache’>

<META Http-Equiv=’Expires’ Content=’0′>

If anyone continues to have problems in a few days, could they put a comment on this post.

Any other suggestions for html headers from the web savvy that will help would be greatly appreciated. This is not an area that I’m familiar with, but I’m having to learn. So far it looks like an ad-hoc mess with as many systems violating the standards. I will not be putting in this suggestion from microsoft, of adding an extra header and body although it does work.

The fix went in at 1930 last night, but I scheduled this post for later as it is unlikely to cause any changes in the short-term.There are some lively discussions ongoing.

Powered by WPtouch Mobile Suite for WordPress