[Hippo-cms7-user] Replacing resource with same name

Bart van der Schans b.vanderschans at onehippo.com
Tue Dec 21 19:52:07 CET 2010


On Mon, Dec 20, 2010 at 12:15 PM, Ard Schrijvers
<a.schrijvers at onehippo.com> wrote:
>
>> You can turn of setting expire header by setting the init-param
>> "set-expire-headers" to "false", which should be the default imho as
>> it's not the responsibility of the binaries servlet, but that would
>> have been to big a break with the old behavior.
>
> I do not agree with default to false...

The problem is that you typically want to set expires headers
depending on the type of document. This is typically handled by the
proxy [1] or a filter [2].

Bart

[1] http://httpd.apache.org/docs/2.2/mod/mod_expires.html#expiresbytype
[2] http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Expires_Filter


-- 
Hippo
----------------------------------------------------------------------------------------------
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • San Francisco  755 Baywood Drive  •  Petaluma CA. 94954 •  +1
(877) 414 4776
Canada    •   Montréal  5369 Boulevard St-Laurent #430 •  Montréal QC
H2T 1S5  •  +1 (707) 658-4535
----------------------------------------------------------------------------------------------
www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com
----------------------------------------------------------------------------------------------



More information about the Hippo-cms7-user mailing list