From: alex b. <en...@tu...> - 2001-05-21 06:24:47
|
http://cvs.php.net/viewcvs.cgi/php4/pear/Cache.php?annotate=3D1.9&only_wi= th_tag=3DHEAD if anyone's interested in taking this class and either using some of the = code, or just using the class to build a cache core component, let me = know. the cache components would do the following: -accept a completed page from Page, and a flag: uri, uri_get which = would have this effect: -if it's "uri" just store the data in a file in a cache = directory (which would be defined as a constant) in some encode form (so = as not to have files named /foo/bar/index.php which is a nono) -it it's uri_get, do the same as above, but _include_ the query = string. it would obviously need to be able to cough up the contents of that same = file later. looks like the pear cache in't quite right, but is has all the gabage = collection and other foo we need. _alex |