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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:09:17
Script start
Timing: Jan 18 2025 16:09:17
Module start 'layout'
Timing: Jan 18 2025 16:09:17
Module start 'content'
Timing: Jan 18 2025 16:09:17
Module end 'content'
Timing: Jan 18 2025 16:09:17
Script end

Main resources:

Total runtime0.0157 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.9141152.6250
Module start 'layout' 0.00660.0024 740.539139.4453
Module start 'content' 0.00900.0048 779.984489.2266
Module end 'content' 0.01380.0018 869.210930.3047
Script end 0.0156  899.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.3502140.0002
Check MTime0.00127.4644140.0001
Mysql Total
Database connection0.00116.830410.0011
Mysqli_queries0.002113.480030.0007
Looping result0.00000.095810.0000
Template Total0.00159.810.0015
Template load0.00085.114110.0008
Template processing0.00074.617010.0007
Override
Cache load0.00053.347610.0005
General
dbfile0.00053.403880.0001
String conversion0.00000.057840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs