Forums / Setup & design / Clear Cache upon content modification
Don Blogger
Friday 11 June 2010 7:33:08 am
Hi,
Is there a way to clear the cache automatically as soon as a user has modified some content? I keep hearing from clients they forget about clearing the cache manually ...
TIA,
DB
Robin Muilwijk
Friday 11 June 2010 11:57:06 am
Hi Don,
As far as I know cache is cleared when you publish new versions of content. See http://ez.no/doc/ez_publish/technical_manual/4_x/features/view_caching/smart_view_cache_cleaning.
There should be no need to empty the cahce manually.
Regards Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation. LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk
André R.
Friday 11 June 2010 4:24:13 pm
As long as you don't fetch unrelated (As in not related, sibling, parent or child as you can define as cache clearing rules in viewcache.ini. Look at settings/viewcache.ini for info) content form within templates of a node view you should be fine. As for pagelayout you should be able to use subtree param and keys to avoid most of the outdated cache issues as long as you plan ahead while developing.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom