httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: fix for ExpiresByType, including dynamic content
Date Wed, 14 May 2003 01:25:43 GMT
* Rodent of Unusual Size wrote:

> the attached patch (against 2.0) defers handling of the ExpiresByType
> settings to an output filter, so it should correctly add the fields
> to a cgi script in the scope of the directive.

There's an accompanying feature request in the bug db
(<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7991>)

Can we partially follow this request and combine your filter with
AddOutputFilterByType? e.g., a slight semantic change (keeping
backwards-compat), so that you have two choices, either:

ExpiresByType "access plus 1 month"
AddoutputFilterByType EXPIRATION image/gif image/jpeg image/png

or:

ExpiresByType image/gif "access plus 1 month"
#etc.

+1 on concept anyway (just had only a short look over the patch).

nd
-- 
"Die Untergeschosse der Sempergalerie bleiben währenddessen aus
 statistischen Gründen geflutet." -- Spiegel Online

Mime
View raw message