Cache regeneration overweight

Author Message

H-Works Agency

Friday 19 August 2005 1:19:52 am

Hi all

System : debian testing/apache/mysql/php/ezp3.6.0

I have a big cache setup problem in my ezp system. On my production sites, i have all cache parameters on in the site.ini but when i modify or add a content nothing appears on the public website. So i have to clear all content cache (for thousand of content objects) by hand each time i add or modify any content !!!

I'am shure its not the right way to do it but when i read the doc about this issue (or the comments in the site.ini) it says that even with cache on, content added or modified should appear on the website.

Can someone tell me how to setup ezp to take advantage of the cache system and in the same time be able it to display modified or added contents without clearing all cache.

Thank in advance,
Martin

EZP is Great

Łukasz Serwatka

Friday 19 August 2005 1:32:26 am

Hi Martin,

I think that this can help you.
http://ez.no/products/ez_publish_cms/documentation/faq/general/content_does_not_appear_in_admin_after_publish

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

H-Works Agency

Friday 19 August 2005 7:54:16 am

Thanx for the message but we misunderstood each other.

I have no problem seeing the added or modified contents in the admin. My problem is that those contents doesn't appear in the public site when cache is "on"...until i clear all "content cache".

So everytime i add contents in the admin, i have to clear all site content cache to make those available in the public site.

My question is how can i remove only the cache of the parent class, or only the cache of the modified content...etc

Martin

EZP is Great

Marko Žmak

Friday 19 August 2005 11:11:07 am

I had similar problems on one site. You could try something disabling the NodeTreeCache, and enable all other caching. Something like that worked for me.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

H-Works Agency

Saturday 20 August 2005 7:38:54 am

NodeTreeCache is disabled by default and i didn't touched it.
For exemple : What are the ezp cache setup for the ez.no website ?
I am shure you don't clear all site's cache when somebody publish a new content.

Thanks Lukasz Serwatka !!! Your where right about you answser...it works now.

Martin

EZP is Great

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

eZ debug

Timing: Jan 19 2025 00:36:20
Script start
Timing: Jan 19 2025 00:36:20
Module start 'layout'
Timing: Jan 19 2025 00:36:20
Module start 'content'
Timing: Jan 19 2025 00:36:20
Module end 'content'
Timing: Jan 19 2025 00:36:20
Script end

Main resources:

Total runtime0.0172 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.9141152.6250
Module start 'layout' 0.00710.0033 740.539139.4453
Module start 'content' 0.01030.0046 779.984493.3203
Module end 'content' 0.01500.0022 873.304738.3047
Script end 0.0172  911.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.9876140.0002
Check MTime0.00116.5784140.0001
Mysql Total
Database connection0.00095.238110.0009
Mysqli_queries0.003218.386630.0011
Looping result0.00000.128810.0000
Template Total0.001810.210.0018
Template load0.00095.256110.0009
Template processing0.00084.907210.0008
Override
Cache load0.00063.612510.0006
General
dbfile0.00021.377780.0000
String conversion0.00000.051240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs