NGINX as proxy before apache, and localy store php generated images
Jaroslav
huglester at gmail.com
Fri Sep 28 08:10:27 UTC 2012
Hello everyone,
I am using nginx as proxy before apache a long time already. And it is
really terrific what it does.
Ram usage dropped like 3 times
I mainly set up image cache headers in nginx config
Today I've spotted, that one of vhosts is generating images ALWAYS on the
fly, images are accessed like:
/bin/825?w=121&h=87&cutted=fit
/bin/4999?w=222
/bin/5113?w=121&h=87&cutted=fit
etc..
I wonder is there any way I can tell nginx to store those images locally,
ie for a week, and serve them
to other users, so it won't be resized multiple times?
I tried googling but don't even know how/where to start from..
Thank you in advance!
huglester
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120928/35ecbfff/attachment.html>
More information about the nginx
mailing list