Forums / Setup & design / Cache regeneration overweight

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

eZ debug

Timing: Jan 31 2025 06:19:08
Script start
Timing: Jan 31 2025 06:19:08
Module start 'content'
Timing: Jan 31 2025 06:19:08
Module end 'content'
Timing: Jan 31 2025 06:19:09
Script end

Main resources:

Total runtime0.1763 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9297180.8359
Module start 'content' 0.00670.0049 768.765697.8672
Module end 'content' 0.01160.1646 866.6328526.8047
Script end 0.1762  1,393.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.9522200.0002
Check MTime0.00140.8098200.0001
Mysql Total
Database connection0.00100.559210.0010
Mysqli_queries0.130674.07761410.0009
Looping result0.00140.82131390.0000
Template Total0.164293.210.1642
Template load0.00080.474810.0008
Template processing0.163492.678610.1634
Override
Cache load0.00060.331910.0006
Sytem overhead
Fetch class attribute can translate value0.00060.359010.0006
XML
Image XML parsing0.00020.140110.0002
General
dbfile0.00512.8741200.0003
String conversion0.00000.002830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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