Feedback on static cache

Author Message

Matthieu Sévère

Thursday 13 January 2011 4:46:19 am

Hey eZ Community !

Just wondering if some of you use static cache in eZ ?

I usually use only view cache combined with template block and performance is quite good. But I'm wondering how efficient is static cache ? Do you advise it ? Doest it update the cache well for every contributions ? Is that suitable for high number of contents website ?

Thank you for your feedback :)

Cheers

--
eZ certified developer: http://ez.no/certification/verify/346216

Gaetano Giunta

Thursday 13 January 2011 5:16:51 am

Most of the time I have seen it deployed it was enabled for just a couple of select pages (homepage etc). I think the sweet spot for it follows the 80/20 rule: do the 20% of pages that absorb 80% of the traffic.

Principal Consultant International Business
Member of the Community Project Board

Ivo Lukac

Thursday 13 January 2011 12:38:32 pm

If you have a site with no user specific data shown you can deploy static cache and get nice speed boost. But keep it for homepage and main categories, do not use if for all content.

If you have user specific data then you could still use static cache but then you need to implement some AJAX calls for those user specific elements...

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Matthieu Sévère

Friday 14 January 2011 12:12:57 am

Thanks for the feedback !

I understand how complicated it can get with user specific data ... But that's good to know that we can use it for, at least, homepage.

--
eZ certified developer: http://ez.no/certification/verify/346216

Bertrand Dunogier

Friday 14 January 2011 3:08:59 am

Remember to mark the topic as solved if it is, Matthieu ;-)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Matthieu Sévère

Friday 14 January 2011 4:00:57 am

Oups I forgot, thanks for the reminder Bertrand ;)

--
eZ certified developer: http://ez.no/certification/verify/346216

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

Main resources:

Total runtime0.9151 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9141152.6250
Module start 'layout' 0.00650.0027 740.539139.4531
Module start 'content' 0.00920.9045 779.9922668.1172
Module end 'content' 0.91370.0013 1,448.109416.1641
Script end 0.9150  1,464.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3550160.0002
Check MTime0.00130.1451160.0001
Mysql Total
Database connection0.00100.108510.0010
Mysqli_queries0.849092.7832700.0121
Looping result0.00080.0927680.0000
Template Total0.884096.620.4420
Template load0.00200.215320.0010
Template processing0.882196.394120.4410
Template load and register function0.00010.011110.0001
states
state_id_array0.00170.184310.0017
state_identifier_array0.00080.088720.0004
Override
Cache load0.00170.1825260.0001
Sytem overhead
Fetch class attribute can translate value0.00150.162040.0004
Fetch class attribute name0.00120.1333100.0001
XML
Image XML parsing0.00220.241840.0006
class_abstraction
Instantiating content class attribute0.00000.0024120.0000
General
dbfile0.00210.2296350.0001
String conversion0.00000.000940.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs