Serious problems with viewcache...

Author Message

Nicklas Lundgren

Monday 14 April 2008 10:49:44 am

Hi folks,
I have found a really strange problem in a 3.8.6-site.
I noticed bad performance, even though we have been using view-cache and cacheblocks combined. We are quite used to the cache-system of eZ, and normally the sites are running nice.

But with this site, its different. I hacked kernel/content/view.php to see which viewcache-file it tries to fetch for a certain page.

It says it is fetching cache2/content/customer/60-bd08bfa785266bd29e0a86b71890fbc0.cache

However, when I search the whole content cache directory, this file doesnt exist!

How can the system search for a viewcache file that doesnt exist? I am really confused.

Can it be because we have changed the name of the cache-dir from "cache" to "cache2"? I guess not, since it is allowed to change this directory in the site.ini.file...

Any ideas on how I should proceed with this annoying issue, is very welcome...

Cheers!
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

Maxime Thomas

Tuesday 15 April 2008 10:43:18 pm

If my memory is ok, you must find a file in the content cache with the mapping between url_alias and the cache2/content/customer/60-bd08bfa785266bd29e0a86b71890fbc0.cache
file.

But the cache2 is very weird. Have you set it up ?

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

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