ZenphotoCMS Forum
Enable Gzip for Zenphoto - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Enable Gzip for Zenphoto (/thread-12683.html)



Enable Gzip for Zenphoto - Comodor125 - 2017-02-25

For those who want to accelerate the loading and display of their zenphoto site. You can enable Gzip by adding this code below in your htaccess :

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

Once your htaccess file is updated you can do the test on google pagespeed insights.