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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

changing templates not changing site...

Go to End

10 Posts   3720 Views


Forum Moderator, 1899 Posts

17 August 2011 at 10:14pm


if (Director::isDev()) { 

Whilst many have had no problem with the above - I have - I have also fixed others problems by advising to remove this piece of code. Every now and again (whilst in dev mode obvioulsy) an error of cannot include cache file appears. I don't advise using it.


Forum Moderator, 1391 Posts

17 August 2011 at 10:25pm

I have no idea if this is the case here, probably not, but I thought I'd mention: for pages using static caching, just flushing the template wouldn't work - you'd have to republish the page to have it take effect...

also the fact that adding a querystring (even ?1=2 could work) to the URL does the trick, might even point in the direction of some other (client-side?) caching besides the ss template-cache...

Go to Top