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   1054 Views

Avatar
Blackdog

16 April 2008 at 2:29pm Community Member, 156 Posts

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

16 April 2008 at 2:59pm Forum Moderator, 921 Posts

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

16 April 2008 at 5:23pm Community Member, 156 Posts

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