瀏覽代碼

Excluding internally-compressed woff2

Jan Wh 7 年之前
父節點
當前提交
958e2614f6
共有 1 個文件被更改,包括 1 次插入0 次删除
  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