How do you delete VAR/cache?

Author Message

mikael lindqvist

Tuesday 26 August 2003 3:41:27 pm

...well, that probably sounds quite stupid but to clear my cache I guess there are two ways:

from the command prompt run:

/bin/shell/clearcache.sh

or

Delete all subfolders of VAR?

(I have tried number one and it doesn't seem to do the job since there are still some files left in the endless subfolders of VAR)

In one way, how do I effectively CLEAR cache? :>

Kindly,
Mikael

Thomas Brandl

Wednesday 27 August 2003 1:51:05 am

I usually do 'rm -fr var/cache' since I heard that clearcache.sh wouldn't delete some overrides (not sure though).

Jo Henrik Endrerud

Wednesday 27 August 2003 1:54:33 am

the clearcache script will default clear all view caching, however, some cache files about the template structure will still be left (this can be a bit confusing when you are creating new templates). To clear all cache you should run:
./bin/shell/clearcache.sh --clear-all

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

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 00:40:33
Script start
Timing: Jan 31 2025 00:40:33
Module start 'layout'
Timing: Jan 31 2025 00:40:33
Module start 'content'
Timing: Jan 31 2025 00:40:34
Module end 'content'
Timing: Jan 31 2025 00:40:34
Script end

Main resources:

Total runtime0.9641 sec
Peak memory usage8,192.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1328151.2109
Module start 'layout' 0.00500.0037 739.3438220.6875
Module start 'content' 0.00870.9546 960.03134,331.5938
Module end 'content' 0.96340.0007 5,291.62507.8516
Script end 0.9641  5,299.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3780160.0002
Check MTime0.00130.1328160.0001
Mysql Total
Database connection0.00070.071410.0007
Mysqli_queries0.887292.0148590.0150
Looping result0.00050.0475570.0000
Template Total0.915194.920.4576
Template load0.00220.232720.0011
Template processing0.912994.682320.4564
Template load and register function0.00150.152610.0015
states
state_id_array0.00170.174310.0017
state_identifier_array0.00170.173020.0008
Override
Cache load0.00190.1952170.0001
Sytem overhead
Fetch class attribute can translate value0.00190.192530.0006
Fetch class attribute name0.00190.196730.0006
XML
Image XML parsing0.00030.035630.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00200.2096100.0002
String conversion0.00000.001040.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs