Forums / Developer / Feedback on static cache
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
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.
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
Friday 14 January 2011 4:00:57 am
Oups I forgot, thanks for the reminder Bertrand ;)