Extendable cache clear list

Author Message

Piotrek Karaś

Monday 14 April 2008 12:25:37 am

Do you know a noninvasive (non-hack) way of extending the cache clear list? I mean the list that can be found in kernel/classes/ezcache.php in fetchList() method.

We create more and more extensions that have their own cache, and it would be great, if those extensions could automatically extend the administration interface's clear list (thus making it manageable without custom clear solutions).

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

Kristof Coomans

Monday 14 April 2008 5:23:24 am

Hi Piotrek

Good idea! Can you put an enhancement request on http://issues.ez.no please? Thanks!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Piotrek Karaś

Monday 14 April 2008 5:36:45 am

Done!

--
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 19 2025 09:54:52
Script start
Timing: Jan 19 2025 09:54:52
Module start 'layout'
Timing: Jan 19 2025 09:54:52
Module start 'content'
Timing: Jan 19 2025 09:54:52
Module end 'content'
Timing: Jan 19 2025 09:54:52
Script end

Main resources:

Total runtime0.0173 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.0054 590.4297152.6250
Module start 'layout' 0.00540.0023 743.054739.4453
Module start 'content' 0.00770.0075 782.500089.3203
Module end 'content' 0.01520.0020 871.820334.3047
Script end 0.0172  906.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.4235140.0002
Check MTime0.00126.8435140.0001
Mysql Total
Database connection0.00105.806910.0010
Mysqli_queries0.001911.195630.0006
Looping result0.00000.074510.0000
Template Total0.00179.810.0017
Template load0.00095.216210.0009
Template processing0.00084.601910.0008
Override
Cache load0.00063.693710.0006
General
dbfile0.002112.153580.0003
String conversion0.00000.051140.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