ezhttp is not working if caching is turned on.
i put
{set-block scope=root variable=cache_ttl}0{/set-block}
to all templates, because in other way ezhttp will return the same value...
i put
{set-block scope=root variable=cache_ttl}0{/set-block}
to all templates, because in other way ezhttp will return the same value...
This documentation stores what it needs to work: a session cookie when you sign in or keep a setting such as the help menu shown or hidden, the design you chose (Classic or Modern) and your language. Only if you agree, it also uses Google Analytics (through Google Tag Manager) to count visits; until then nothing is loaded from Google. Your choice is kept in a cookie for 6 months, and you can change it at any time under "Cookie settings" at the foot of every page. Details are in our Cookie Policy.
The session cookie for signing in and for forms, the cookies that keep your design and language, and the cookie that keeps this choice. They stay on because the website needs them; you can delete them in your browser settings at any time.
Google Analytics, loaded through Google Tag Manager (GTM-MPGWKTQV), counts visits and shows us which pages are read: the pages you open, the page you came from, your browser, device and screen size, and your approximate location derived from your IP address. Google processes the data for us and may transfer it to the USA. It sets the cookies _ga and _ga_* for up to 2 years. Off until you turn it on; when you turn it off again, Google is no longer loaded and these cookies are deleted.
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
Re: ezhttp is not working if caching is turned on.
André R. ·
Or YOU should rethink your code instead of disable all cache, and recommend others to do so as well..
If you use view parameters ('my.domain.com/my/url/(parameter)/value') instead of GET parameters, then the cache system will store different cached pages depending on the parameters. So that would be:
* Better performance (cache is still on)
* Nicer looking URL
* Better indexable URL
Re: Re: ezhttp is not working if caching is turned on.
Tobias V. ·
Actually, the cache system unfortunately does not store different cached pages, but returns the first requested version after cache cleaning for each parameter combination. Maybe this has something to do with the overall broken cache system in 3.10, but it does not work as expected and documented here.