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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1302 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.