Does the expires directive add the head if the Expire head not exist?

Delta Yeh delta.yeh at gmail.com
Wed Aug 20 13:48:32 MSD 2008


That's great, thanks !

I'm waiting to test this feature.

2008/8/19 Igor Sysoev <is at rambler-co.ru>:
> On Mon, Aug 18, 2008 at 03:18:23PM +0800, Delta Yeh wrote:
>
>> I use nginx  as a pure reverse proxy.
>> I think set the Expires header according to the response Content-Type
>> is more resonable than the request uri in this scenario.
>>
>> Do you have any plan to  add the directive like
>>
>>   proxy_set_expires  text/css 30d
>
> Yes, it may be added, but in form "expires  text/css image/gif 30d".
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>





More information about the nginx mailing list