Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Cache not working, site always reloads


Go to End


3 Posts   2051 Views

Avatar
stinkytofu

Community Member, 17 Posts

9 December 2008 at 8:37pm

I'm experiencing some strange problems with the CMS. Whenever I update the Page.ss file and upload to the server, when I visit the modified page, SilverStripe automatically displays the updated contents of the Page.ss file, even though I never specified ?flush=1 at the end of the URL. So I'm a bit worried that the CMS is not storing anything in the cache and rebuilding the page everytime it loads.

Is there something I'm doing wrong here? Is there a setting I need to change somewhere to tell Silverstripe to cache the Page.ss file, instead of rebuilding it every time. Anybody run across this problem before?

Phil

Avatar
Willr

Forum Moderator, 5523 Posts

9 December 2008 at 8:40pm

it might not be because SilverStripe doesnt have access to write to a cache location. Normally in '/tmp/' or if you create a folder 'silverstripe-cache' in your project folder make sure you have write access to it.

Avatar
stinkytofu

Community Member, 17 Posts

10 December 2008 at 2:24am

Cheers mate! That solved the problem.