Expires header - with variable value or without break

Rob Dupuis lists at ruby-forum.com
Tue Aug 12 13:50:19 MSD 2008


Igor Sysoev wrote:

> Do you want set max expires for URLs like "/some.gif?ts_anything" ?
> Should these URLs proxied to app_servers ?

The problem is I have some dynamically created images which do need to 
be handled by the app server and cached the first time they are created. 
Subsequently, they can be served statically by nginx.

Therefore I want to set the expires header the very first time the image 
is created by the app server, and then continue to send it for the 
static cached version.
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list