Forums / Install & configuration / Smart Viewcache problems again

Smart Viewcache problems again

Author Message

Marco Zinn

Monday 06 February 2006 1:20:24 am

Hi,
With almost each ez installation, i have the same issue with the Smart Viewcache :(
The only available documentation for this feature is this, i think:
http://ez.no/products/ez_publish_open_source_enterprise_cms/documentation/incoming/smart_viewcache_cleaning_system

As you'll see with my comments, i was (and still am) wondering about some "how-to's".

My current issue is the easy and very common problem of "displaying news on the front page":

Structure
- Root folder (Node 2)
--- News Folder
------- News Article 1
------- News Article 2
------- News Article 3
---------- Comment 1
---------- Comment 2
------- News Article 4

Now, forget about the comments ;) I just want to display the news as "line views" in the full view of the root folder (Node 2).
I wrote in override template, which fetches the news and displays them. Fine.
Unfortunatly, this full view is "conten cached" to infinity.

Then, i enabled the Smart Viewcache System and tried

[article]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder
ClearCacheMethod=clear_object_and_relating_objects_caches

This didn't work either. I tried various other ClearCacheMethods (incl. "clear_all_caches"), but none did work. Yes, i cleared all caches after changing the ini.

I'm sure, lots of people have the same setup. How did you solve this (without turning of caching!) ??

NB: On some older system (3.4.4), we got this working, incl. "Object filtering". The only difference to me -other than beeing a 3.4- is, that in _that_ installation, the "index page" of the siteaccess ist NOT node 2, but a node one level below that.
Is there an issue with Smart Viewcache not working on level 2 or ... ?

At ez:
How is this supposed to be working?
From the docs, i'd suppose

[article]
DependentClassIdentifier[]
DependentClassIdentifier[]=folder
ClearCacheMethod=clear_object_caches_only

should do the job, assuming, that the "Object" you refer to in the ClearCacheMethod is the "folder", not the "article", which triggered the cache clearing.

Any help is appreciated!

Marco
http://www.hyperroad-design.com

risto CMS user

Friday 31 March 2006 1:17:04 am

any solution? Imhaving the same problem