Browse Source

Excluding internally-compressed woff2

Jan Wh 7 years ago
parent
commit
958e2614f6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gzip_cache/gzip_cache.py

+ 1 - 0
gzip_cache/gzip_cache.py

@@ -42,6 +42,7 @@ EXCLUDE_TYPES = [
     # Internally-compressed fonts. gzip can often shave ~50 more bytes off,
     # but it's not worth it.
     '.woff',
+    '.woff2',
 ]
 
 COMPRESSION_LEVEL = 9 # Best Compression