Forums / Setup & design / simple url to clear all caches

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

eZ debug

Timing: Jan 19 2025 11:52:17
Script start
Timing: Jan 19 2025 11:52:17
Module start 'content'
Timing: Jan 19 2025 11:52:17
Module end 'content'
Timing: Jan 19 2025 11:52:17
Script end

Main resources:

Total runtime0.0174 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.0084 589.1719180.8359
Module start 'content' 0.00840.0041 770.007893.8828
Module end 'content' 0.01240.0049 863.890670.7031
Script end 0.0173  934.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002313.3701120.0002
Check MTime0.00116.3817120.0001
Mysql Total
Database connection0.00105.900910.0010
Mysqli_queries0.004827.374540.0012
Looping result0.00000.132920.0000
Template Total0.004626.410.0046
Template load0.00095.262610.0009
Template processing0.003721.118810.0037
Override
Cache load0.00073.814810.0007
General
dbfile0.00031.7971100.0000
String conversion0.00000.039730.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