首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > php是一级缓存的请求

php是一级缓存的请求

  • 资源大小:7.88 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: php 缓存 一级 请求

资 源 简 介

After going through phpThumb caching hell (lots of cached files in a dir, server freezing etc) I came up with this lib. When a user requests some content (say a resized image) an apache errordocument calls the lib which generates the content. The second time the same content get requested, apache will serve it directly without involving php or anything! Sample usage Copy this package into /dynamic directory of your website. write a in the browser /dynamic/320x200/yourimagefolder/yourimagesubfolder/image.jpg](http://[site.com]/dynamic/320x200/yourimagefolder/yourimagesubfolder/image.jpg) after that... refresh again.

文 件 列 表

cache-on-request
_libs
.htaccess
front_controller.php
_libs
cache_on_request.php
logger.php

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.167585s