Forums / Developer / Ezhttp non-caching not working

Ezhttp non-caching not working

Author Message

Lars Eirik R

Friday 12 March 2010 1:50:17 am

Hi.

We need to use ezhttp to retrieve some value. This works fine the first time the user enters the website with a param, but the result seems to be cached per user whenever the page is revisited.

I need to pass inn size=1, size=2

The first time size=1 gives me the right result, the next time the same user visits the page with size=2 , the results from size=1

mypage?size=1

In the full template for this node, i have added the magick

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

Because we need to use the facebook_connect module we are not able to use view_parameters as these seem to corrupt the inclusion of the facebook module.

Lars Eirik R

Friday 12 March 2010 2:07:51 am

Please ignore this.

It turned out that the variable cache_ttl had been written cache-ttl (which obviously does not work).