[open-ils-commits] [GIT] Evergreen ILS branch master updated. 25ac4d46eb2c61d82f3ab0a34813140fd27d2679
Evergreen Git
git at git.evergreen-ils.org
Mon May 23 09:41:56 EDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 25ac4d46eb2c61d82f3ab0a34813140fd27d2679 (commit)
from 5f132d5f98d719c38a01070cfa75c31ba6227252 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 25ac4d46eb2c61d82f3ab0a34813140fd27d2679
Author: Dan Wells <dbw2 at calvin.edu>
Date: Mon May 23 09:30:43 2011 -0400
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 <dbw2 at calvin.edu>
diff --git a/Open-ILS/examples/apache/eg.conf b/Open-ILS/examples/apache/eg.conf
index cb37134..6ea38a7 100644
--- a/Open-ILS/examples/apache/eg.conf
+++ b/Open-ILS/examples/apache/eg.conf
@@ -97,6 +97,7 @@ ExpiresDefault "access plus 1 month"
ExpiresByType text/html "access plus 18 hours"
ExpiresByType application/xhtml+xml "access plus 18 hours"
ExpiresByType application/x-javascript "access plus 18 hours"
+ExpiresByType application/javascript "access plus 18 hours"
ExpiresByType text/css "access plus 50 minutes"
# ----------------------------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/examples/apache/eg.conf | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list