Forums / Developer / Caching problems / Comment48640

Author Topic

Damien Pobel

Saturday 06 October 2007 3:41:19 pm

Comment48640

Hi,

I think Petr is right, you should put your viewcache.ini.append.php in settings/override instead.
But if your lmi_news on the homepage are shown using the pagelayout templates (or an include in it) the Smart Cache Clear will not solve your problem as it only concerns the cache of $module_result.content [1].
If you have a cache-block around the template code that fetch your lastest lmi_news you should check the subtree_expiry parameters of cache-block [2].
You can find a good example in "Exponential Performance Optimization Part 3 of 3: Practical Cache and Template Solutions" [3]

[1] http://ez.no/doc/ez_publish/technical_manual/3_9/features/view_caching
[2] http://ez.no/doc/ez_publish/technical_manual/3_9/reference/template_functions/miscellaneous/cache_block
[3] http://ez.no/developer/articles/ez_publish_performance_optimization_part_3_of_3_practical_cache_and_template_solutions

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish