[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 6a724738d90bebad91174ec57de1a8b55241bdc9

Evergreen Git git at git.evergreen-ils.org
Mon May 23 09:41:57 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, rel_2_1 has been updated
       via  6a724738d90bebad91174ec57de1a8b55241bdc9 (commit)
      from  726eeea0b2bae4f4057565dca2072c7aee46c323 (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 6a724738d90bebad91174ec57de1a8b55241bdc9
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Mon May 23 09:38:22 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 fd7dfd8..8f21f72 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
 
 # ----------------------------------------------------------------------------------

-----------------------------------------------------------------------

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