Thursday 29 November 2007 12:47:41 am
I have a problem with a cache-block and ezhttp variables. I have a tamplate where I'm using these ezhttp get variables (with my form) and the teplate has view cache disabled. {set-block scope=root variable=cache_ttl}0{/set-block} Everything works ok but when I'm displaing the page with my form and variables, everytime I have 23 sql queries. I would like to have less so I used the cache-block with array keys as my http get variable. Unfortunately cache-block doesn't work as I expected.
{cache-block key=array($offest, $get1, $get2, $get3, $get4 )}
... form and results ... {/cache-block} Once the viewed page has been displayed, I keep geeting the same result, even if the cache keys ($get1, $get2 etc...) change. Just as if they were not used. Is it possible to use cache-block with that (eZ 3.10.0)?
http://ez.no/certification/verify/272582
|