- From: olivier Thereaux <ot@w3.org>
- Date: Wed, 25 Jul 2007 10:11:15 +0900
- To: Ville Skyttä <ville.skytta@iki.fi>
- Cc: Sierk Bornemann <sierkb@gmx.de>, www-validator-cvs@w3.org
Hello Sierk, Ville, On Jul 25, 2007, at 00:59 , Ville Skyttä wrote: > > On Tuesday 24 July 2007, Sierk Bornemann wrote: >> If adding the outdated MIME type text/javascript and the proprietary >> MIME type application/x-javascript >> why not also adding the new recommended and to-be-preferred MIME >> types for JavaScript, application/javascript and that one for >> ECMAScript, application/ecmascript as stated in RFC 4329 "Scripting >> Media Types" on http://www.ietf.org/rfc/rfc4329.txt? >> >> So add also: >> >> + ExpiresByType application/javascript A2592000 >> + ExpiresByType application/ecmascript A2592000 >> >>> </IfModule> Absolutely, I forgot these. Adding them now. > But more importantly, shouldn't these ExpiresByType directives be > set only > within <Directory /usr/local/validator/htdocs/>? Otherwise I > suppose they'd > affect the whole server/virtual host/similar. Yes, you're right. I guess I was subconsciously hoping everyone would use mod_expires for all their sites ;). It would be nice if all the validator config could be in a <VirtualHost> (As Sierk also suggested), but unfortunately not everyone uses the validator that way, so... Sending a commit with the amended httpd.conf now. -- olivier
Received on Wednesday, 25 July 2007 01:10:52 UTC