Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Cache not working, site always reloads

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

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

Page: 1
Go to End
Author Topic: 1203 Views
  • stinkytofu
    Avatar
    Community Member
    17 Posts

    Cache not working, site always reloads Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Cache not working, site always reloads Link to this post

    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.

  • stinkytofu
    Avatar
    Community Member
    17 Posts

    Re: Cache not working, site always reloads Link to this post

    Cheers mate! That solved the problem.

    1203 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.