ViewCaching enabled and update content

Author Message

Carlos Revillo

Wednesday 02 January 2008 8:19:49 am

Hi. I have read the documentation and tried to enable cache for my site.
In my settings/override/site.ini.append.php i have this

[ContentSettings]
ViewCaching=enabled 

[TemplateSettings]
TemplateCache=enabled
TemplateCompile=enabled
TemplateOptimization=enabled

In our testing site, all works as expected, but in our production site, we have to clear the cache any time we update any content. We have to disable ViewCaching in order to let the users update their contents and see the results without to clear the cache...
If anyone knows any reason for this, please let me know.
Thank you.

kracker (the)

Wednesday 02 January 2008 8:41:12 am

Welcome to negative feature land my friend population ... +you.

Still this topic has been covered too many times before to start all of this again? Search, Read, Code!

<i>http://ezpedia.org/wiki/en/ez/content_view_cache
http://ez.no/content/advancedsearch?SearchText=ViewCache&SubTreeArray[]=308&SearchPageLimit=5
http://ez.no/developer/forum/setup_design/caching_expiring_regularly
http://ez.no/developer/forum/developer/viewcache_does_not_clear_after_publishing
http://ez.no/developer/forum/setup_design/smart_view_cache_mechanism
http://ez.no/doc/ez_publish/technical_manual/3_9/features/view_caching/clearing_the_view_cache
http://ez.no/doc/ez_publish/technical_manual/3_9/features/view_caching/smart_view_cache_cleaning</i>

<i>//kracker</i>

<b>Limp Bizkit - Boiler -> Break Stuff</b>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Carlos Revillo

Wednesday 02 January 2008 9:05:01 am

Thank you.

I have searched and readed all those post so many times. have you properly read my post before reply it?.

I repeat. We have a testing site and a production site. ini files are identical... In our testing site we do not have to clear caches to see changes. in our production site we do. why it works in our testing and it doesn`t in our production site? maybe it's something related with the architecture of the server? permissions or something like this?.

kracker (the)

Wednesday 02 January 2008 9:20:52 am

<i>no</i>

<i>How often have I said to you that when you have eliminated the impossible, whatever remains, however improbable, must be the truth?</i>

It is good however you re-iterate clearly key details.

Certain all the ini settings are really the same? Why would you enable caching like this on your test site? Retest /var file permissions?

I'd say don't give up but .. you can't, so your locked and loaded, but I then i'm not in your line of fire .. adjust your aim and fire again.

<i>//kracker

mansbestfriend pt 3 : myownworstenemy : howling in a vacuum</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

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 06:12:45
Script start
Timing: Jan 31 2025 06:12:45
Module start 'layout'
Timing: Jan 31 2025 06:12:45
Module start 'content'
Timing: Jan 31 2025 06:12:45
Module end 'content'
Timing: Jan 31 2025 06:12:45
Script end

Main resources:

Total runtime0.0360 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0128 588.1484151.2109
Module start 'layout' 0.01280.0028 739.359436.6484
Module start 'content' 0.01560.0187 776.007894.2500
Module end 'content' 0.03430.0017 870.257833.9922
Script end 0.0359  904.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00246.7367140.0002
Check MTime0.00112.9605140.0001
Mysql Total
Database connection0.00082.354210.0008
Mysqli_queries0.009526.500130.0032
Looping result0.00000.041710.0000
Template Total0.00123.210.0012
Template load0.00092.535110.0009
Template processing0.00020.663910.0002
Override
Cache load0.00061.642610.0006
General
dbfile0.012434.350080.0015
String conversion0.00000.025240.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