Proxy caching. / "Last modified" / "If Modified Since"

Author Message

johann savalle

Tuesday 24 January 2006 7:09:35 pm

Hi,

First question, is someone is using eZ site behing a proxy and is managing to have decent proxy caching ?

Two, is someone having any clue how to control http header "Last modified" and especially dealing with "If-modified-since" ? I fgreped all the kernel, didn't find any line regarding this...

any idea ?

j.s

Kristof Coomans

Tuesday 24 January 2006 11:29:54 pm

I know that the front controller, index.php, always returns the current date in the Last-Modified HTTP header, somewhere around line 428.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 22:40:45
Script start
Timing: Jan 18 2025 22:40:45
Module start 'layout'
Timing: Jan 18 2025 22:40:45
Module start 'content'
Timing: Jan 18 2025 22:40:46
Module end 'content'
Timing: Jan 18 2025 22:40:46
Script end

Main resources:

Total runtime0.9518 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.0049 589.4766152.6406
Module start 'layout' 0.00490.0023 742.117239.4766
Module start 'content' 0.00720.9432 781.5938519.7578
Module end 'content' 0.95030.0014 1,301.35168.1250
Script end 0.9517  1,309.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3400160.0002
Check MTime0.00130.1322160.0001
Mysql Total
Database connection0.00070.071810.0007
Mysqli_queries0.910495.6505540.0169
Looping result0.00050.0524520.0000
Template Total0.922096.920.4610
Template load0.00210.221420.0011
Template processing0.919896.644120.4599
Template load and register function0.00020.023310.0002
states
state_id_array0.00080.085710.0008
state_identifier_array0.00120.130320.0006
Override
Cache load0.00170.1804110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.065820.0003
Fetch class attribute name0.00180.184030.0006
XML
Image XML parsing0.00060.059820.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00070.0752160.0000
String conversion0.00000.000640.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs