cache clears, but there's a delay

Author Message

Shaun Ellis

Thursday 25 September 2003 11:19:00 am

First I want to say KUDOS! to the ezTeam. The upgrade to 3.2 is great!

However, I'm trying to clear the cache (clear all) and am successful, but only after a delay of a few minutes. I've tried using the clear cache buttons in the admin section as well as the clearcache.sh script. I also have all caching disabled in site.ini (except for the .ini cache, of course). Has anyone else had this problem?

Could the delay be a discrepency between the server time and my local time? I'm developing on a server that I don't have root access to and it seems that it's slow by six minutes. But if my browser is not caching (checked) and there's no cached files on the server, then I don't know where it's getting the old file from. I have developed other applications on this server and have never run into a caching problem. Like I said, it works as expected after a few minutes, but I can only take so many tea breaks before I get frustrated ;-).

Thanks in advance for any insight,
Shaun

RW Wood

Thursday 25 September 2003 1:58:03 pm

Switch to coffee. :)

I've had problems with the cache not clearing, too, but I'm on windoze, so I just blame that. One thing you might check, not that it is necessarily the problem, but depending how you installed the program, the cache files may not be where the admin interface is trying to delete them from. For example, when I set up I used the "news" model, and in the site.ini.append I found:

[FileSettings]
VarDir=var\news

Upon investigation, I found a bunch of cached files there. I changed all of my VarDir settings to =var and that did away with anything being cached elsewhere. If the admin site.ini.append isn't set the same, my guess is that it's trying to delete files from where they ain't.

Just a thought.
RWW

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 18 2025 18:33:49
Script start
Timing: Jan 18 2025 18:33:49
Module start 'layout'
Timing: Jan 18 2025 18:33:49
Module start 'content'
Timing: Jan 18 2025 18:33:50
Module end 'content'
Timing: Jan 18 2025 18:33:50
Script end

Main resources:

Total runtime0.7468 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.9375152.6250
Module start 'layout' 0.00680.0024 740.562539.4453
Module start 'content' 0.00920.7364 780.0078461.9922
Module end 'content' 0.74560.0011 1,242.00008.1563
Script end 0.7467  1,250.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4359160.0002
Check MTime0.00130.1692160.0001
Mysql Total
Database connection0.00110.141010.0011
Mysqli_queries0.706394.5873540.0131
Looping result0.00050.0702520.0000
Template Total0.718796.220.3594
Template load0.00230.306420.0011
Template processing0.716495.937920.3582
Template load and register function0.00020.022910.0002
states
state_id_array0.00070.096410.0007
state_identifier_array0.00060.076720.0003
Override
Cache load0.00190.2553160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.126920.0005
Fetch class attribute name0.00120.160920.0006
XML
Image XML parsing0.00020.032220.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00050.0694100.0001
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs