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.