pagespeed - Enable gzip compression does not works -


i have add htaccess file

<ifmodule mod_deflate.c>   # compress html, css, javascript, text, xml , fonts   addoutputfilterbytype deflate application/javascript   addoutputfilterbytype deflate application/rss+xml   addoutputfilterbytype deflate application/vnd.ms-fontobject   addoutputfilterbytype deflate application/x-font   addoutputfilterbytype deflate application/x-font-opentype   addoutputfilterbytype deflate application/x-font-otf   addoutputfilterbytype deflate application/x-font-truetype   addoutputfilterbytype deflate application/x-font-ttf   addoutputfilterbytype deflate application/x-javascript   addoutputfilterbytype deflate application/xhtml+xml   addoutputfilterbytype deflate application/xml   addoutputfilterbytype deflate font/opentype   addoutputfilterbytype deflate font/otf   addoutputfilterbytype deflate font/ttf   addoutputfilterbytype deflate image/svg+xml   addoutputfilterbytype deflate image/x-icon   addoutputfilterbytype deflate text/css   addoutputfilterbytype deflate text/html   addoutputfilterbytype deflate text/javascript   addoutputfilterbytype deflate text/plain   addoutputfilterbytype deflate text/xml    # remove browser bugs (only needed old browsers)   browsermatch ^mozilla/4 gzip-only-text/html   browsermatch ^mozilla/4\.0[678] no-gzip   browsermatch \bmsie !no-gzip !gzip-only-text/html   header append vary user-agent </ifmodule> 

https://checkgzipcompression.com/ check pass 53,8 % compressed

but gtmetrix request enable gzip compression

all file ?vers not compressed. examples below

    compressing http://example.com/wp-content/themes/pitchwp/css/stylesheet.min.css?ver=4.7.5 save 623.3kib (87% reduction).     compressing http://example.com/wp-content/themes/pitchwp/js/plugins.js?ver=4.7.5 save 497.9kib (74% reduction).     compressing http://example.com/wp-content/plugins/js_composer/assets/css/js_composer.min.css?ver=5.0.1 save 404.9kib (90% reduction).     compressing http://example.com/wp-content/themes/pitchwp/js/default.min.js?ver=4.7.5 save 212.3kib (83% reduction).     compressing http://example.com/wp-content/themes/pitchwp/css/responsive.min.css?ver=4.7.5 save 94.2kib (87% reduction).     compressing http://example.com/wp-content/plugins/layerslider/static/layerslider/js/greensock.js?ver=1.19.0 save 76.0kib (66% reduction).     compressing http://example.com/wp-content/themes/pitchwp/js/jquery.caroufredsel-6.2.1.js?ver=4.7.5 save 70.8kib (79% reduction).     compressing http://example.com/wp-content/themes/pitchwp/css/linea-icons/style.css?ver=4.7.5 save 68.0kib (89% reduction).     compressing http://example.com/wp-content/plugins/layerslider/static/layerslider/js/layerslider.kreaturamedia.jquery.js?ver=6.1.0 save 66.3kib (61% reduction).     compressing http://example.com/wp-content/themes/pitchwp/css/style_dynamic.css?ver=1504958725 save 65.9kib (85% reduction). 


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -