Skip to the content
Documentation

ezhttp is not working if caching is turned on.

No ratings yet

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

Comments (2 historical)

Written by readers of the earlier documentation sites, kept as they were.

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

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