Miraculous administration interface capabilities

Author Message

Piotrek Karaś

Thursday 20 December 2007 3:05:11 am

We've observed very curious eZ Publish (4.0.0) behavior, and I'm not actually sure if this is due to implementation mistake or maybe something wrong with the application itself, or maybe that's standard.

Like with each installation, we try to fine tune the caching mechanism so that - amongst other - it works with smallest possible amount of database queries per view. <b>Now the thing:</b> when we completely remove cache files, and then run any public siteaccess, the lowest mysql_queries count we are able to get down to is around <b>12-15</b>, no matter what we do. Now, we log in to the administration panel just for a view, content tab. <b>From that moment on mysql_queries count for our public siteaccesses drops down to around 3 !!!</b>

Can anyone explain what's going on?

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Piotrek Karaś

Thursday 07 February 2008 2:47:06 am

<b>Another thing.</b>

When we clear all the cache (with script or over file system), and then request the administration interface siteaccess before a public one, then the public one will have many of its translations missing (or available in English).

This happens with a extension-based design, if that could be a hint.

If it could be our mistake - what could that be?

Greets,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 31 2025 04:29:12
Script start
Timing: Jan 31 2025 04:29:12
Module start 'layout'
Timing: Jan 31 2025 04:29:12
Module start 'content'
Timing: Jan 31 2025 04:29:12
Module end 'content'
Timing: Jan 31 2025 04:29:12
Script end

Main resources:

Total runtime0.0178 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.0053 588.2656151.2266
Module start 'layout' 0.00530.0030 739.492236.6797
Module start 'content' 0.00830.0076 776.171990.1875
Module end 'content' 0.01590.0019 866.359433.9922
Script end 0.0178  900.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.0102140.0002
Check MTime0.00116.3254140.0001
Mysql Total
Database connection0.00084.730310.0008
Mysqli_queries0.002715.312030.0009
Looping result0.00000.100410.0000
Template Total0.00147.810.0014
Template load0.00116.146010.0011
Template processing0.00031.601810.0003
Override
Cache load0.00063.617410.0006
General
dbfile0.002212.594680.0003
String conversion0.00000.056240.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