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.

Archive /

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

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

<% include %> caching issue


Reply


3 Posts   1076 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.