Several of my pages are now caching after upgrading to 11.7
These pages are TV schedules and are updated 3 or 4 times daily 24/7 so it's important they don't cache. All cache settings are disabled but they're still caching in all the browsers that I've been able to check. Is there another way of preventing this happening.
Thankx in advance for any tips. - spike
[SOLVED] Page caching after 10..3 to 11.7 upgrade
[SOLVED] Page caching after 10..3 to 11.7 upgrade
Last edited by spike on Thu Aug 01, 2013 11:54 am, edited 1 time in total.
Re: Page caching after 10..3 to 11.7 upgrade
I don't know much about caching but this might help:
http://www.smarty.net/docs/en/language. ... ocache.tpl
http://www.smarty.net/docs/en/language. ... ocache.tpl
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Page caching after 10..3 to 11.7 upgrade
Put the following code in the page specific metadata tot disable browser caching
Code: Select all
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
Re: Page caching after 10..3 to 11.7 upgrade
Thanks very much for the tips guys,
Since I've read that some browsers do and some don't I've used both suggestions.
Appears to work perfectly, thanking you kindly.
regards spike
Since I've read that some browsers do and some don't I've used both suggestions.
Appears to work perfectly, thanking you kindly.
regards spike
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: [SOLVED] Page caching after 10..3 to 11.7 upgrade
CMSMS has an admin setting
- allow browser to cache pages
There is a 'cachable' flag for each page
if you don't want the browser to cache individual pages, make sure that that is off.
Oh, and you could have settings in your .htaccess file that override the headers output by cmsms.
- allow browser to cache pages
There is a 'cachable' flag for each page
if you don't want the browser to cache individual pages, make sure that that is off.
Oh, and you could have settings in your .htaccess file that override the headers output by cmsms.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: [SOLVED] Page caching after 10..3 to 11.7 upgrade
Hi Calguy,
Had both the admin and the page settings flagged to no cache, but the pages were still caching. I wondered if there was some glitch in the data-base that might be causing it after the update.
Seems to be okay now with the suggestions above implemented.
Thanks for your input -
regards - spike
Had both the admin and the page settings flagged to no cache, but the pages were still caching. I wondered if there was some glitch in the data-base that might be causing it after the update.
Seems to be okay now with the suggestions above implemented.
Thanks for your input -
regards - spike