-
AuthorPosts
-
June 4, 2018 at 9:08 am #966373
Hi I have several site that are running enfold, and all of them transferred over to new performance updates beautifully except for one. https://zanazan.com.au
It’s rating 0 on GZIP compression on GT metric for the following files. Not sure why this is happening, as I said – no problem on other sites I’ve upgraded.
——
Enable compression for the following resources to reduce their transfer size by 502.4KiB (80% reduction).
Compressing https://zanazan.com.au/wp-content/uploads/dynamic_avia/avia-merged-styles-16a607666cd99e7738b2510795728211.css could save 372.4KiB (84% reduction).
Compressing https://zanazan.com.au/wp-content/uploads/dynamic_avia/avia-footer-scripts-ca8dffb79aff1c3d1e040e95d0dfe1de.js could save 121.9KiB (71% reduction).
Compressing https://zanazan.com.au/wp-content/themes/enfold/framework/js/conditional_load/avia_google_maps_api.js could save 7.9KiB (70% reduction).
Compressing https://zanazan.com.au/?wc-ajax=get_refreshed_fragments could save 49B (24% reduction).June 5, 2018 at 5:24 am #966954Hey karmenka,
Maybe a plugin could help you out with that? https://wordpress.org/plugins/tags/gzip/
Best regards,
RikardJuly 19, 2018 at 5:52 pm #987530I have the same problem. I am using wp-rocket, and they say, may be the theme conflicts by adding its own GZIP compression rules …
July 19, 2018 at 6:25 pm #987559Hi,
Enfold doesn’t add gzip code to the htaccess file etc. You can use a cache plugin like Borlabs Cache to add gzip compression or you can edit the htaccess file manually – a sample code snippet can be found here: https://gtmetrix.com/enable-gzip-compression.html :
<IfModule mod_deflate.c> # Compress HTML, CSS, JavaScript, Text, XML and 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 for really 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>
Best regards,
DudeJuly 24, 2018 at 4:20 pm #989245Thank you!
-
AuthorPosts
- The topic ‘GZIP compression’ is closed to new replies.