problème with view_cache and objects relations

Author Message

Alain Mangana

Friday 05 December 2008 3:04:22 am

Hello,

I have a viewcaching problem with a related objects.

I have a structure like that:

ezpub / Home_fr / Produit / Prod1

Media / Media_fr/ Produit / Prod1 / Bloc_prod / Bloc_prod1

Media / Media_fr/ Produit / Prod1 / Bloc_prod / Accessoires / accessoire1

And some relative like that:

Prod1 <-- Bloc_prod1
Bloc_prod1 <-- accessoire1


there possibility Does it clear prod1's view cache when i change or I add an element in accessoire1

thx

http://tikdem.com
/

Ivo Lukac

Friday 05 December 2008 4:00:26 am

Hello Alain,

You can solve this with smart view cache. Read this:
http://ez.no/doc/ez_publish/technical_manual/4_0/features/view_caching/smart_view_cache_cleaning

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

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 31 2025 00:24:52
Script start
Timing: Jan 31 2025 00:24:52
Module start 'layout'
Timing: Jan 31 2025 00:24:52
Module start 'content'
Timing: Jan 31 2025 00:24:52
Module end 'content'
Timing: Jan 31 2025 00:24:52
Script end

Main resources:

Total runtime0.0267 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.2578151.2266
Module start 'layout' 0.00610.0042 739.4844220.7188
Module start 'content' 0.01030.0146 960.2031997.8047
Module end 'content' 0.02500.0017 1,958.007829.9922
Script end 0.0267  1,988.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00279.9623140.0002
Check MTime0.00114.0083140.0001
Mysql Total
Database connection0.00083.130610.0008
Mysqli_queries0.003412.587530.0011
Looping result0.00000.041110.0000
Template Total0.00124.610.0012
Template load0.00103.703810.0010
Template processing0.00020.846510.0002
Override
Cache load0.00072.625210.0007
General
dbfile0.00259.276680.0003
String conversion0.00000.033940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs