Apache deflate/gzip module
How can I enable gzip compression on a local laravel project, I've tried many tutorials but none seem to work.
I would appreciate any directions/suggestions.
@RezRazi: gzip compression is enabled by default in Laragon. Check Apache's configuration file (Menu > Apache > httpd.conf)
LoadModule deflate_module modules/mod_deflate.so
I did that, but still gzip is not enabled when checking with curl/chrome dev tools
Any direction to get it to work for a laravel project with laragon ?
Have you added these to your .htaccess: https://github.com/h5bp/server-configs-apache/blob/master/dist/.htaccess#L713-L795 ?
Just tested with my setup. Using
LoadModule deflate_module modules/mod_deflate.soand aforementioned
.htaccessconfigs, gzip/deflate works fine (amount transferred 1MB -> 490KB), so it's probably either one.