No. I have not tried that module. Mainly because the Limitation section
says as below, which means it can not handle Expires, Cache-Control, and
Last-Modified headers. And it suggests to do that via the Headers module
which can not do any re-write.
"Limitations
Unlike the standard headers module, this module does not automatically
take care of the constraint among the Expires, Cache-Control, and
Last-Modified headers. You have to get them right yourself or use the
headers module together with this module."
agentzh wrote:
> On Mon, Dec 28, 2009 at 2:35 AM, Anto <aryanto@chello.at> wrote:
>
>> Thanks for your reply.
>>
>> I do need conditional logic, especially to re-write the "Content-Type" header. So I can set it depending on whether the original file is *.js, *.css or *.html when serving their gzip format.
>>
>
> Have you tried the headers_more module?
>
> http://wiki.nginx.org/NginxHttpHeadersMoreModule
>
> Cheers,
> -agentzh
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx