Commit graph

11 commits

Author SHA1 Message Date
Andrew Gaul 389077e0fa Transcode via Brotli
Brotli offers 20% better compression than gzip.
2017-01-18 19:35:20 -08:00
Andrew Gaul ecfa095a14 Consume gzip stream in test
Also close writer since this test previously failed due to truncated
output.
2017-01-18 19:33:36 -08:00
Andrew Gaul 20a9c66286 Add unit tests for JPEG and WebP
Also correct Content-Type when transcoding WebP.
2017-01-18 18:27:22 -08:00
Andrew Gaul 9518dc2f1a Add PNG and JPEG to WebP transcoding
WebP lossy mode offers up to 30% better compression than JPEG.
2017-01-16 00:06:17 -08:00
Andrew Gaul ca005f7c97 Allow configuration of gzip compression level 2017-01-16 07:39:24 +01:00
Andrew Gaul 11a40b5051 Honor Accept-Encoding header in gzip transcoder
This avoids sending compressed data to clients which do not support
it.
2017-01-14 15:33:35 -08:00
Barna Csorogi 6dae9bda0c update for github.com/tdewolff/minify api changes 2015-11-25 14:43:45 +01:00
Barna Csorogi 848c2f2028 Update for changes of tdewolff/minify dependency 2015-05-14 22:00:53 +02:00
Barna Csorogi 6202c0a479 Remove accidental duplicate file 2015-05-14 21:40:42 +02:00
Barna Csorogi 9bf55d29a9 proxy header-only responses properly
fixes redirects
2015-03-29 16:12:15 +02:00
Barna Csorogi 343bdd5266 initial commit 2015-03-28 23:07:40 +01:00