From 6a724738d90bebad91174ec57de1a8b55241bdc9 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Mon, 23 May 2011 09:38:22 -0400 Subject: [PATCH] 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 --- Open-ILS/examples/apache/eg.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/examples/apache/eg.conf b/Open-ILS/examples/apache/eg.conf index fd7dfd8749..8f21f720d3 100644 --- a/Open-ILS/examples/apache/eg.conf +++ b/Open-ILS/examples/apache/eg.conf @@ -97,6 +97,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 # ---------------------------------------------------------------------------------- -- 2.11.0