[dev] ngx_http_clear_last_modified in addition_filter_module

Igor Sysoev is at rambler-co.ru
Wed Dec 12 14:21:34 MSK 2007


On Tue, Dec 11, 2007 at 08:56:52PM +0100, Manlio Perillo wrote:

> I have noted that in the addition_filter_module the last_modified field 
> is not cleared, like it is done in ssi and sub filter modules.
> 
> What is the reason?

I consider that after addition_filter_module the response body is
mostly the same. The filter simply adds some banners, etc, that
have no relation to the body content.

The SSI filter, on other hand, may change body considerably.
For example, SSI template may have header/footer and may include external
main body.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list