]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
Add gzip support to the sample nginx configuration
authorMicah Elizabeth Scott <micah@misc.name>
Wed, 22 Aug 2018 21:34:41 +0000 (14:34 -0700)
committerChocobozzz <me@florianbigard.com>
Fri, 24 Aug 2018 07:08:33 +0000 (09:08 +0200)
commitb9ad99560546ff019a9a1e44c01a354c6fa291be
treeaa0e66a3afa45e5f2acb0729cea1b24d9559d5e7
parentdd07afa5f448eed4ebc1afe1370dc6936b15f0d8
Add gzip support to the sample nginx configuration

Without gzip explicitly enabled, load times suffer from transferring
over a megabyte of plaintext javascript. With gzip enabled, the bundle
is down to about 300K, and loads much faster.

This change does not enable gzip on files that are already compressed,
so images, fonts, and videos will be sent without the CPU overhead.
support/nginx/peertube