|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cache_Lite
Hi
I recently read the tutorial on the PHP PEAR class Cache_Lite. I've been working through the code and there is one thing I haven't yet figured out...when the code expires, how does it get removed? Its probably very simple and I'm just not seeing it. If anyone knows or knows how to implement it I would be interested in knowing. Thanks Kierse |
|
#2
|
|||
|
|||
|
expires?
Cache_Lite automatically checks its cache to see if it is within the specified lifetime. If it is, it uses the cached data; if not, it deletes the cache, resources the data from original and saves it again to the cache.
__________________
-- Articles, tutorials and more, all at http://www.melonfire.com/community/columns/trog/ |
|
#3
|
|||
|
|||
|
Cache_Lite
So it doesn't check to see if the cached file is beyond its lifetime until someone requests it?
|
|
#4
|
|||
|
|||
|
Re: Cache_Lite
Quote:
No Answer? I just started using Cache_Lite and I have files that are a lot older than the lifetime. Is there a function to kill all files that are out of date? |
![]() |
| Viewing: Dev Shed Forums > Other > Development Articles > Cache_Lite |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|