From: Dan Wells Date: Mon, 23 May 2011 13:38:22 +0000 (-0400) Subject: Apply Apache file expiration to the current official Javascript content type X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e2db91d200520ffcb561c0e0aad22c0491b7628c;p=evergreen%2Fjoelewis.git Apply Apache file expiration to the current official Javascript content type At least on Ubuntu 10.04, Javascript files are generally delivered with a Content-Type header of 'application/javascript', not 'application/x-javascript'. This change applies the much shorter 18 hour expiration to the affected files, rather than allowing them to default to 1 month. Signed-off-by: Dan Wells --- diff --git a/Open-ILS/examples/apache/eg.conf b/Open-ILS/examples/apache/eg.conf index c7b8cdbdd3..0b9933e0f8 100644 --- a/Open-ILS/examples/apache/eg.conf +++ b/Open-ILS/examples/apache/eg.conf @@ -74,6 +74,7 @@ ExpiresDefault A2592000 ExpiresByType text/html A64800 ExpiresByType application/xhtml+xml A64800 ExpiresByType application/x-javascript A64800 +ExpiresByType application/javascript A64800 ExpiresByType text/css A3000 # ----------------------------------------------------------------------------------