Forums / Setup & design / Using ezhttp within a template & keeping it dynamic

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Using ezhttp within a template & keeping it dynamic

Author Message

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 X

Thursday 19 February 2004 12:16:03 am

disable the cache for this one tempalte

search the doc for "disable cache"

Alex Jones

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

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>