cache-block strategies

Author Message

Menno van Drunen

Saturday 20 September 2003 5:03:55 am

It is not clear to me how to use cache-blocks, can somone explain what the best strategy is for using them? If got questions like:

- Should I include as less (only database interaction) or as much html as possible in a cache-block?
- Should I use cache-blocks for simple operations as ezimage and ezurl aswell or only for complicated operations?

Thx in advance!

MvD

Bjørn Kaarstein

Tuesday 23 September 2003 1:07:03 am

My suggestion is that you use the cache-block functionality on parts of your site that rarely change, i.e. menus, and fetched items from pagelayout.

Regards Bjørn

Menno van Drunen

Wednesday 24 September 2003 9:07:28 am

ok. should the other things all go via template cache-ing? I'm asking because my site (www.sviib.nl/logix) realy performes horrible.

What can I do in general to improve the speed (template caching is on, I deleted all database interaction that was not realy needed and I implemented cach-blocks)??

I hope someone can help because I realy like the ez publish concept but the performance.....

Thx in advance,

Menno

Paul Borgermans

Wednesday 24 September 2003 9:37:23 am

Is view caching on?
Is template compiling on (ezp >= 3.1)?

What are the machine specs?

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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