Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 13th, 2003, 09:40 PM
kierse kierse is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada
Posts: 2 kierse User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old June 14th, 2003, 04:12 AM
melonfire melonfire is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 45 melonfire User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
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/

Reply With Quote
  #3  
Old June 15th, 2003, 03:16 AM
kierse kierse is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada
Posts: 2 kierse User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cache_Lite

So it doesn't check to see if the cached file is beyond its lifetime until someone requests it?

Reply With Quote
  #4  
Old October 17th, 2003, 10:37 AM
jschmittat jschmittat is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 1 jschmittat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: Cache_Lite

Quote:
Originally posted by kierse
So it doesn't check to see if the cached file is beyond its lifetime until someone requests it?


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?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Cache_Lite


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT