Forums / Setup & design / cache clears, but there's a delay

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