• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Webpages and caching...

IEC

Elite Member
Super Moderator
So...

Let's say I update a page frequently. But a lot of users have caching enabled and do not check for the latest version of a page (sigh)

Should I resort to *cringes*:

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-store">
Disable caching of the page...

OR

<META http-equiv="EXPIRES" CONTENT="TUES, 1 JAN 2000 12:00:00 GMT">
Trick the cache into always loading the latest...

OR

???

What's the best method for this?
 
Originally posted by: sourceninja
I always use <meta http-equiv="Cache-Control" content="no-cache"> and it works 99% of the time.

Thanks, I'll try that.

And test it in IE/FF/Opera. Lulz.
 
For dynamic content pages I always use the meta tags to disable caching:

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">

For static pages I sometimes like to append a version number on the filename so when you need to update the page you update the filename with the new version number and then the browser thinks its a totally new page so does not load whats in its cache
 
Back
Top