From 6f68125893590fc9de60185f5535bae12adbcb54 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 3 Jul 2017 12:38:38 -0700 Subject: Bug 1377232 - Revert code from bug 1361890 --- .htaccess | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 30aff3458..b07ce9a0d 100644 --- a/.htaccess +++ b/.htaccess @@ -2,6 +2,27 @@ deny from all + + + + + ExpiresActive On + # According to RFC 2616, "1 year in the future" means "never expire". + # We change the name of the file's URL whenever its modification date + # changes, so browsers can cache any individual JS or CSS URL forever. + # However, since all JS and CSS URLs involve a ? in them (for the changing + # name) we have to explicitly set an Expires header or browsers won't + # *ever* cache them. + ExpiresDefault "now plus 1 years" + Header append Cache-Control "public" + + + # This lets Bugzilla know that we are properly sending Cache-Control + # and Expires headers for CSS and JS files. + SetEnv BZ_CACHE_CONTROL 1 + + + # Allow ZeroClipboard for access to the clipboard -- cgit v1.2.3-24-g4f1b