开发者

is there any php solution for caching management ? especially for image caching?

i just want to know a general information about th开发者_开发知识库is particular information. Any good reference will be helpful.


Image caching manual:

  1. Store images in the disk directory.
  2. Web-server will take care of caching.


Zend has a good caching tool if you want to check it out but I'm not sure about the image cache.

You could also check this link for a related stuff :

  • How to get the browser to cache images, with php?


You can put image data into a cache and you might be able to gain some speed advantage from it over including them from the filesystem. However, you can and should also utilize browser and proxy caching, which makes more sense to me:

  • Google Web Performance Best Practices - Optimize caching

and maybe some webservers which utilize memcache:

  • http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMemCache
  • http://wiki.nginx.org/NginxHttpMemcachedModule
  • http://www.mmcache.com/

Since the question was not limited to image caching though and asked for PHP, here is a list of general (opcodes) caches that you can use from PHP

  • Zend Server
  • APC
  • XCache
  • eAccelerator
  • memcached
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜