diff --git a/CHANGELOG.md b/CHANGELOG.md index 0389c70b..1bdfb3c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### HEAD +* Compress cache manifest files (`.appcache` / `.manifest`). * Move all compression related configs under the `Compression` section [[73a107e](https://github.com/h5bp/server-configs-apache/commit/73a107ed0cb9ae4b3ec966e8e246b7a6f4bbd059)]. diff --git a/src/.htaccess b/src/.htaccess index 1e327221..c5b245f1 100644 --- a/src/.htaccess +++ b/src/.htaccess @@ -595,6 +595,7 @@ AddDefaultCharset utf-8 font/opentype \ image/svg+xml \ image/x-icon \ + text/cache-manifest \ text/css \ text/html \ text/plain \ diff --git a/test/fixtures/content/.htaccess b/test/fixtures/content/.htaccess index e826457f..14e06ba3 100644 --- a/test/fixtures/content/.htaccess +++ b/test/fixtures/content/.htaccess @@ -329,6 +329,7 @@ AddDefaultCharset utf-8 font/opentype \ image/svg+xml \ image/x-icon \ + text/cache-manifest \ text/css \ text/html \ text/plain \ diff --git a/test/test.js b/test/test.js index b1c60d1e..e35655a2 100644 --- a/test/test.js +++ b/test/test.js @@ -61,7 +61,6 @@ var tests = [ 'test.appcache': { headers: generateHeaders({ 'cache-control': 'max-age=0, no-transform', - 'content-encoding': undefined, 'content-type': 'text/cache-manifest' }) }, @@ -245,7 +244,6 @@ var tests = [ 'test.manifest': { headers: generateHeaders({ 'cache-control': 'max-age=0, no-transform', - 'content-encoding': undefined, 'content-type': 'text/cache-manifest' }) },