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

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

php是一级缓存的请求

  • 资源大小:7.88 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分: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
  • IATWAY 1小时前 成为了本站会员

  • 大智若愚 7小时前 成为了本站会员

  • Mason 10小时前 成为了本站会员

  • 10小时前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

0.193216s