Forums / Setup & design / Using ezhttp within a template & keeping it dynamic
Alex Jones
Monday 16 February 2004 12:56:04 pm
Okay, this may be rehashing an old topic, but I am going to ask again as this is the first time I've moved beyond 3.1 development.
I would like to utilize a GET variable within an override template of mine. So, I was planning to utilize ezhttp to grab it and set it as a variable, but that variable ends up being cached. Is there a way for me to ensure the variable isn't cached so I can use it within the override template, or is this not possible without using eZenv and dealing with those inherent problems?
Thanks for the help,
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>
Björn [email protected]
Thursday 19 February 2004 12:16:03 am
disable the cache for this one tempalte
search the doc for "disable cache"
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs Looking for hosting? http://hostingezpublish.com ----------------------------------------------------------------------------- GMT +01:00 Hannover, Germany Web: http://www.xrow.com/
Thursday 19 February 2004 7:31:17 am
I was afraid that was the only option, so I solved the problem another way. As this template would be used for the vast majority of pages on the site, setting it up so that it cannot cache isn't an option.
Ultimately it would be nice for eZ publish to have the ability to take a variable from POST or GET, include it within a template (say, as a fetch parameter) and then cache the resulting page. I assume this is not possible at the moment, though please correct me if my understanding of the caching system is incorrect.