Updating translation.ts - heavy load w/cache-compile

Author Message

Jonny Bergkvist

Thursday 02 February 2006 12:30:45 pm

Hi!

I have a high-traffic mulitlingual site nor-NO+eng-GB, and I have created a translation-extension with my own translations in.

If I update an tpl-override-file, the caching and compile-system detects the update, and recaches/compiles only that file - no problem for the server!

If I update anything in my translation.ts-file ALL templates seems to need recaching/compile, and that overloads my server if done with traffic. I need to change apache-config to use apache RewriteCond to only allow my host to access my eZ-site, and recache the main pages. So it means a minute down-time or so...

Any1 else experienced these kind of problems when updating translation.ts? Any solution to this problem?

Jonny Bergkvist
http://www.hit.no

Francisca Hernández

Friday 03 February 2006 2:52:40 am

Hi Jonny,

I have the same problem when I update anything in the translation.ts file.

How does the system detects and recompile only the files that you modified? Is there any setting for that?

Thanks in advance
fran

Iguana IT, SL - http://www.iguanait.com

Jonny Bergkvist

Friday 03 February 2006 3:19:20 am

Fran,

I think eZ automatically detects changed tpl-files and recached/recompiles them...

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 18 2025 16:26:08
Script start
Timing: Jan 18 2025 16:26:08
Module start 'layout'
Timing: Jan 18 2025 16:26:08
Module start 'content'
Timing: Jan 18 2025 16:26:09
Module end 'content'
Timing: Jan 18 2025 16:26:09
Script end

Main resources:

Total runtime0.6647 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.8125152.6406
Module start 'layout' 0.00650.0043 742.453139.4766
Module start 'content' 0.01080.6526 781.9297538.4063
Module end 'content' 0.66340.0013 1,320.335912.1250
Script end 0.6647  1,332.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5048160.0002
Check MTime0.00130.1955160.0001
Mysql Total
Database connection0.00070.109810.0007
Mysqli_queries0.606991.3034570.0106
Looping result0.00070.0980550.0000
Template Total0.625494.120.3127
Template load0.00490.736420.0024
Template processing0.620493.342820.3102
Template load and register function0.00010.017910.0001
states
state_id_array0.00160.240910.0016
state_identifier_array0.00090.142620.0005
Override
Cache load0.00440.6687220.0002
Sytem overhead
Fetch class attribute can translate value0.00120.173920.0006
Fetch class attribute name0.00090.141350.0002
XML
Image XML parsing0.00260.391620.0013
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00270.4128220.0001
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs