Share » Forums » Setup & design » Template caching - Pagelaout & View

Template caching - Pagelaout & View

Template caching - Pagelaout & View

Tuesday 15 February 2005 4:38:10 am - 2 replies

Author Message

Arran Price

Wednesday 16 February 2005 1:34:36 pm

Hi Simon,
I dont quite understand the question but the template block not caching rings a bell.
Take a look at:
http://ez.no/community/forum/setup_design/ezhttp_get_problem/#msg79334
Is this what you are after?

{set-block scope=root variable=cache_ttl}0{/set-block}

Not sure if thats what you want, but just in case it is...

Arran

Simon Phillips

Wednesday 16 February 2005 2:14:52 pm

Thanks Arran,

I've been working on this problem for a day now, and yep - that's one possible solution. However, then the entire pagelayout template isn't cached, which is far from idea.

The solution I settled on is to use the fetch function to retrieve the node, and work with the retrieved node instead. This data is not cached, and so will update as the page contents change.

Simon

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu