Anyway, I ran Google insights over my Known install, and was surprised that files weren’t being compressed. It used to be the case that all you had to do was enable
mod_gzip on apache, but somewhere along the line the configuration must have changed.
Long story short, I needed to enable it by creating a
/etc/apache2/conf.d/deflate.conf file… here’s mine:
SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \.(?:gif|png|jpg|jpeg)$ no-gzip dont-vary Header append Vary User-Agent env=!dont-vary