NGINX as proxy before apache, and localy store php generated images

Igor Sysoev igor at
Fri Sep 28 08:26:00 UTC 2012

On Sep 28, 2012, at 12:10 , Jaroslav wrote:

> 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..

Igor Sysoev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list