



Yet when I use any online tools to check gzip compression they all come back No.
#OPTIMIZE DISK ENHANCED PAGE AND MINIFY DISK CACHING FOR NFS PLUS#
eotĪddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-opentype image/svg+xmlĮxpiresByType application/vnd.ms-fontobject "access plus 1 year"ĮxpiresByType application/x-font-ttf "access plus 1 year"ĮxpiresByType application/x-font-opentype "access plus 1 year"ĮxpiresByType application/x-font-woff "access plus 1 year"ĮxpiresByType image/svg+xml "access plus 1 year" # Remove browser bugs (only needed for really old browsers)īrowserMatch ^Mozilla/4 gzip-only-text/htmlīrowserMatch \bMSIE !no-gzip !gzip-only-text/htmlĮxpiresByType text/html "access plus 0 seconds"ĮxpiresByType audio/ogg "access plus 1 month"ĮxpiresByType image/gif "access plus 1 month"ĮxpiresByType image/jpeg "access plus 1 month"ĮxpiresByType image/png "access plus 1 month"ĮxpiresByType video/mp4 "access plus 1 month"ĮxpiresByType video/ogg "access plus 1 month"ĮxpiresByType video/webm "access plus 1 month"ĮxpiresByType application/javascript "access plus 1 week"ĮxpiresByType text/css "access plus 1 week”ĪddType application/vnd.ms-fontobject. # Compress HTML, CSS, JavaScript, Text, XML and fontsĪddOutputFilterByType DEFLATE application/javascriptĪddOutputFilterByType DEFLATE application/rss+xmlĪddOutputFilterByType DEFLATE application/vnd.ms-fontobjectĪddOutputFilterByType DEFLATE application/x-fontĪddOutputFilterByType DEFLATE application/x-font-opentypeĪddOutputFilterByType DEFLATE application/x-font-otfĪddOutputFilterByType DEFLATE application/x-font-truetypeĪddOutputFilterByType DEFLATE application/x-font-ttfĪddOutputFilterByType DEFLATE application/x-javascriptĪddOutputFilterByType DEFLATE application/xhtml+xmlĪddOutputFilterByType DEFLATE application/xmlĪddOutputFilterByType DEFLATE font/opentypeĪddOutputFilterByType DEFLATE image/svg+xmlĪddOutputFilterByType DEFLATE image/x-iconĪddOutputFilterByType DEFLATE text/javascript I've added ob_gzhandler onto ob_start( 'ob_gzhandler' ) Īnd have an htaccess file containing the following: That all works fine but I want to compress and minify the cached file. I am using the following page caching technique as described here and shown below:
