Enable Gzip for Zenphoto

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.
Sign In or Register to comment.