[SOLVED] Page caching after 10..3 to 11.7 upgrade

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
spike
Forum Members
Forum Members
Posts: 153
Joined: Thu Sep 25, 2008 5:02 pm

[SOLVED] Page caching after 10..3 to 11.7 upgrade

Post by spike »

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
Last edited by spike on Thu Aug 01, 2013 11:54 am, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Page caching after 10..3 to 11.7 upgrade

Post by velden »

I don't know much about caching but this might help:

http://www.smarty.net/docs/en/language. ... ocache.tpl
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Page caching after 10..3 to 11.7 upgrade

Post by staartmees »

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">
spike
Forum Members
Forum Members
Posts: 153
Joined: Thu Sep 25, 2008 5:02 pm

Re: Page caching after 10..3 to 11.7 upgrade

Post by spike »

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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: [SOLVED] Page caching after 10..3 to 11.7 upgrade

Post by calguy1000 »

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.
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.
spike
Forum Members
Forum Members
Posts: 153
Joined: Thu Sep 25, 2008 5:02 pm

Re: [SOLVED] Page caching after 10..3 to 11.7 upgrade

Post by spike »

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
Locked

Return to “[locked] Installation, Setup and Upgrade”