i just want to know a general information about this particular information. Any good reference will be helpful.
views:
70answers:
3
+2
A:
Image caching manual:
- Store images in the disk directory.
- Web-server will take care of caching.
Col. Shrapnel
2010-04-09 19:08:57
without proper configuration, the webserver will cache nothing
Gordon
2010-04-09 19:47:33
With default configuration it will cache very well. and I am sorry, but your "proper configuration" note can be applied to any solution, thus, it has no sense.
Col. Shrapnel
2010-04-09 19:50:12
in a foul mood today? you didn't even say which webserver, so I guess your entire answer is as senseless as my *proper configuration* then. but then again, I got the impression the answer wasn't meant to help the OP in the first place anyway.
Gordon
2010-04-09 19:55:06
I agree with this answer, actually. The Question does not seem to be referring to opcode caching, rather, to caching generated images. What can you really do but just put them in a directory, check if it's there, and serve if so, generate if not? It wouldn't make sense to use memcached to store images, for instance, unless you have 18 zillion gb of ram.
Alex JL
2010-04-09 20:01:12
Hey @Gordon. Please let me judge, what **my** answer meant. Unlike many literal answers to the questions "how to shoot myself in the leg", my answers indeed helpful.
Col. Shrapnel
2010-04-09 20:14:47
@Shrapnel just telling you how you come across to me on this one.
Gordon
2010-04-09 20:20:17
+2
A:
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:
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
Gordon
2010-04-09 19:12:30
+2
A:
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 :
Hanseh
2010-04-09 19:29:58