Jan Wh 958e2614f6 Excluding internally-compressed woff2 %!s(int64=8) %!d(string=hai) anos
..
Readme.rst 0eef840f8a Add GZIP_CACHE_OVERWRITE option to overwrite original files %!s(int64=10) %!d(string=hai) anos
__init__.py 9e70c17839 import plugins from core and restructure repo %!s(int64=11) %!d(string=hai) anos
gzip_cache.py 958e2614f6 Excluding internally-compressed woff2 %!s(int64=8) %!d(string=hai) anos
test_gzip_cache.py 0eef840f8a Add GZIP_CACHE_OVERWRITE option to overwrite original files %!s(int64=10) %!d(string=hai) anos

Readme.rst

Gzip cache
----------

Certain web servers (e.g., Nginx) can use a static cache of gzip-compressed
files to prevent the server from compressing files during an HTTP call. Since
compression occurs at another time, these compressed files can be compressed
at a higher compression level for increased optimization.

The ``gzip_cache`` plugin compresses all common text type files into a ``.gz``
file within the same directory as the original file.

Settings
--------

* `GZIP_CACHE_OVERWRITE`
If True, the original files will be replaced by the gzip-compressed files.
This is useful for static hosting services (e.g S3). Defaults to False.