How do you turn SmartViewCache off?

Author Message

Deane Barker

Monday 23 January 2006 9:39:01 pm

Or, better yet, how do you get SmartViewCache to work? Try as I might, I cannot get the view cache to clear when publishing an object.

I turned the view cache on, and got an immediate speed improvement. The rendering of one page went from 2.2 seconds to 0.4 seconds, for example.

However, changes to content would not appear unless the content view cache was cleared.

I did some research and discovered the Smart View Cache system. It was enabled, so it strikes me that it should have been working, but it wasn't.

I decided that since this is a small site, I don't really care if the entire content cache clears whenever content is published, so I shut SmartViewCache off. Nothing changed -- content changes still required me to clear the cache manually.

I went ahead and disabled SmartViewCache everywhere -- global, global overrides, all siteaccesses. Nothing changed.

I've read about everything possible on it, included a FAQ that said I need to add site designs to the AdditionalSiteDesignList[] setting in content.ini. I did this. Nothing changed.

Is this a known bug? There are a couple bug reports on it, but they claim to be fixed.

I'm on version 3.7.2.

Ɓukasz Serwatka

Monday 23 January 2006 11:27:48 pm

Hi Deane,

I think your problem can be solve by proper SamrtViewCache configuration. For which class and parent class do you want clear view cache after publish?

You wrote that you have changed AdditionalSiteDesignList[] in content.ini but make sure that this settings are for admin interface siteaccess in content.ini.append.php. You need to provide your design folder name.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Deane Barker

Tuesday 24 January 2006 5:41:52 am

Is there anyway to make it global? It's not a big site, and they don't make changes often. I'd be happy if the entire view cache cleared after every publishing operation.

Deane

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.