Procházet zdrojové kódy

Merge pull request #848 from janwh/patch-1

gzip_cache: Exclude internally-compressed woff2
Justin Mayer před 8 roky
rodič
revize
261c8f7259
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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