PHP中静态缓存、Memcache缓存、Redis缓存、Crontab定时技术

Memcache Redis 的安装请看另一篇文章 Redis Memcache 及其 PHP 扩展的安装php 1、静态缓存 保存在磁盘上的静态文件,用PHP生成数据放入静态文件中html 生成缓存 获取缓存 删除缓存 静态缓存实例linux <?php /** * 静态缓存类 */ class cacheFile { private $_dir; const EXT = '.txt';
相关文章
相关标签/搜索