免费电子图书馆


Cache工具:Content cache class

| |
[不指定 2008/08/27 19:39 | by mlzy ]
程序名称:Content cache class
开发者/组织名称:Szilágyi Gábor
运行环境:php+mysql,php+文本
官方网站:http://www.sysmarks.com/
演示地址:
文章来源:http://www.mlzy.net
下载地址:
程序介绍:
This class can be used to cache content in files.

It checks whether a given cache file exists. If it exists and is not expired, the class returns the cache file contents. If it has expired, the class removes the cache file.

If the cache file does not exist, the class can create a new cache file with from fresh content.

The path of the directory where the cache files are stored is configurable.

本工具用来为你的网站内容生成缓存

它会自动检查cache文件是否存在,如果存在且没有过期,此工具会返回一个被缓存过的内容。如果缓存已经过期或者不存在,它会更新缓存文件或者新建一个缓存文件。

cache缓存生成路径是可以更改的。

作者:mlzy@牧龙在野!
地址:http://www.zhanghongbiao.com/post/792/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!

源码 | 评论(0) | 引用(0) | 阅读(212)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]