Barcelonczyk
New member
- Joined
- Jun 5, 2018
- Messages
- 1
Hi,
I was analyzing network tab in the browser and i was surprised that WebP files are compressed using gzip.
The default httpd-deflate.conf misses webp condition.
This line:
\.(?:gif|jpe?g|png|rar|zip|exe|flv|swf|mov|wma|mp3|mp4|avi|mp?g)$ no-gzip dont-vary
should be changed to:
\.(?:gif|jpe?g|png|webp|rar|zip|exe|flv|swf|mov|wma|mp3|mp4|avi|mp?g)$ no-gzip dont-vary
There is also new AVIF format gaining popularity, which should not be compressed too.
I was analyzing network tab in the browser and i was surprised that WebP files are compressed using gzip.
The default httpd-deflate.conf misses webp condition.
This line:
\.(?:gif|jpe?g|png|rar|zip|exe|flv|swf|mov|wma|mp3|mp4|avi|mp?g)$ no-gzip dont-vary
should be changed to:
\.(?:gif|jpe?g|png|webp|rar|zip|exe|flv|swf|mov|wma|mp3|mp4|avi|mp?g)$ no-gzip dont-vary
There is also new AVIF format gaining popularity, which should not be compressed too.