关于我们┊AboutMe

昵称:Hopol(■童■)

联系:QQ:18883

邮箱:info(at)18883.com

主页:www.18883.com

手机浏览 日志归档 RSS 2.0 订阅
Register | Login

cache_TS

This class can be used to cache the output of PHP script in files.

First it checks the cache file of a given cache key.

If the cache file exists and it has not expired, the class outputs the contents of the cache file.

If the cache file does not yet exist or it has expired, the class starts capturing the output of the script and stores it in the cache file.

The directory where the cache files are stored and the cache file expiry time are configurable parameters.


Download:cache_ts.7z

Tags: cache, ts, php, 源码,

« 上一篇 | 下一篇 »

只显示10条记录相关文章

发表评论