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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

<% include %> caching issue


Go to End


3 Posts   1239 Views

Avatar
Blackdog

Community Member, 156 Posts

16 April 2008 at 2:29pm

Hi, I seem to be suffering a bit from what I can only determine to be caching of templates which are called as includes. Can anyone else confirm this?

I have only tested locally on a WAMP server.

Avatar
Sean

Forum Moderator, 922 Posts

16 April 2008 at 2:59pm

It's a known limitation with the template system.

If you change an <% include %> template, you need to run ?flush=1 to see the changes.

Ticket is here, in our open source tracker: http://open.silverstripe.com/ticket/1594

Sean

Avatar
Blackdog

Community Member, 156 Posts

16 April 2008 at 5:23pm

thanks Sean. Glad to know it just isn't my localhost.