simple url to clear all caches

Author Message

Alexandre Cunha

Tuesday 30 March 2004 4:00:18 am

How can i build a url to clear all caches instead of click setup > cache > all caches in the admin interface ?

thanks

axel

http://AlexandreCunha.com

Trond Åge Kvalø

Tuesday 30 March 2004 4:33:34 am

Hi Axel

Just a wild suggestion.
What if you create a template override for setup/cache.tpl and in the form tag change method="post" to method="get"?

Shouldn't that bring up the clearcache data in the url?

best regards
trondåge

trondåge

Alexandre Cunha

Tuesday 30 March 2004 6:20:04 am

thanks Trond,

Sounds a good solution.

I get this url:

http://host/index.php/admin/setup/cache?ClearAllCacheButton=All+caches

But unfortunetly, using this url the cahed doest clear ...

any other ideias ?

axel

http://AlexandreCunha.com

Lazaro Ferreira

Tuesday 30 March 2004 8:41:05 am

HI,

This is a good ideia, why you don't post it at suggestion forum ?

Lazaro
http://www.mzbusiness.com

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 15:19:05
Script start
Timing: Jan 19 2025 15:19:05
Module start 'layout'
Timing: Jan 19 2025 15:19:05
Module start 'content'
Timing: Jan 19 2025 15:19:06
Module end 'content'
Timing: Jan 19 2025 15:19:06
Script end

Main resources:

Total runtime0.6804 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1563152.6250
Module start 'layout' 0.00480.0021 741.781339.4609
Module start 'content' 0.00690.6719 781.2422538.8906
Module end 'content' 0.67880.0015 1,320.132812.1641
Script end 0.6803  1,332.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4498160.0002
Check MTime0.00130.1982160.0001
Mysql Total
Database connection0.00070.108210.0007
Mysqli_queries0.632292.9102620.0102
Looping result0.00050.0759600.0000
Template Total0.653396.020.3266
Template load0.00180.259420.0009
Template processing0.651595.749120.3257
Template load and register function0.00020.030410.0002
states
state_id_array0.00080.115410.0008
state_identifier_array0.00080.123320.0004
Override
Cache load0.00140.2042240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.086530.0002
Fetch class attribute name0.00100.141940.0002
XML
Image XML parsing0.00040.054430.0001
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00070.0977100.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs