Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.6

Request #11225 Garbage collection Container_file improvement
Submitted: 2007-06-05 07:31 UTC
From: didi0dmc Assigned:
Status: Open Package: Cache (version 1.5.5RC4)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-06-05 07:31 UTC] didi0dmc (Dieter Rothacker)
Description: ------------ To improve the expensive Garbage Collection procedure of Container_file (opening each cache file and reading the expiry date from the file content), there are two possibilities: 1. put the expiry date into the filename and do only directory reads for GC 2. calculate the expiry date from the ctime of each file. This also needs no opening of the cache files Method 2 is probably "nicer", since it does not change the naming convention of cache files.

Comments