Category Archives: Python

Nginx and gzip_static

Gzip static module allows you to serve per-compressed files instead of “on the fly” compressed files.



Python script

we do need to build the gzip files every time we do update our project. This script will scan all files in resource directory and gzip each file: