Forums / Developer / Miraculous administration interface capabilities

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

eZ debug

Timing: Jan 20 2025 20:16:42
Script start
Timing: Jan 20 2025 20:16:42
Module start 'content'
Timing: Jan 20 2025 20:16:42
Module end 'content'
Timing: Jan 20 2025 20:16:42
Script end

Main resources:

Total runtime0.0177 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.8438180.8125
Module start 'content' 0.00550.0065 768.656393.9297
Module end 'content' 0.01200.0056 862.585970.7031
Script end 0.0177  933.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002212.1754120.0002
Check MTime0.00105.5763120.0001
Mysql Total
Database connection0.00063.611710.0006
Mysqli_queries0.002413.772640.0006
Looping result0.00000.072720.0000
Template Total0.005229.410.0052
Template load0.00105.362410.0010
Template processing0.004324.027810.0043
Override
Cache load0.00073.714010.0007
General
dbfile0.00137.5477100.0001
String conversion0.00000.039030.0000
Note: percentages do not add up to 100% because some accumulators overlap

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