ezsi varnish and client cache pbm

Author Message

Seb gaillard

Tuesday 23 February 2010 3:22:47 am

Hi,

I would like to know if someone have had already this kind of problem.
My esi block is correctly display and the cronjob has also a good configuration (it run all 10 minutes).
I make this test: I display the current time in my si-block. The first time I watch the web page, I have the good time, but 10minutes, 20minutes or more, the time have not changed.
If I look at the file html include in the si-blosk, the time is good. If I look at my web page in an other browser, it's good for the first time.
I think it's a client cache problem.

Has someone an idea of how to resolve this?

Thank's,

Seb

Jérôme Renard

Friday 26 February 2010 5:21:18 am

Hi,

what is the result of the following command :

 curl -X HEAD -I <url>

For example :

 curl -X HEAD -I http://share.ez.no/forums/developer/ezsi-varnish-and-client-cache-pbm

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 02:48:32
Script start
Timing: Jan 18 2025 02:48:32
Module start 'layout'
Timing: Jan 18 2025 02:48:32
Module start 'content'
Timing: Jan 18 2025 02:48:33
Module end 'content'
Timing: Jan 18 2025 02:48:33
Script end

Main resources:

Total runtime0.6533 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.0391152.6250
Module start 'layout' 0.00470.0025 741.664139.4609
Module start 'content' 0.00730.6448 781.1250497.2734
Module end 'content' 0.65200.0013 1,278.39848.1563
Script end 0.6533  1,286.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4924160.0002
Check MTime0.00140.2085160.0001
Mysql Total
Database connection0.00060.095410.0006
Mysqli_queries0.610893.4850540.0113
Looping result0.00050.0746520.0000
Template Total0.627096.020.3135
Template load0.00200.309020.0010
Template processing0.625095.659320.3125
Template load and register function0.00020.027410.0002
states
state_id_array0.00120.185710.0012
state_identifier_array0.00120.186620.0006
Override
Cache load0.00170.2556190.0001
Sytem overhead
Fetch class attribute can translate value0.00060.097920.0003
Fetch class attribute name0.00180.276530.0006
XML
Image XML parsing0.00080.115420.0004
class_abstraction
Instantiating content class attribute0.00000.001930.0000
General
dbfile0.00090.1349180.0000
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs