Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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).

    #966954

    Hey karmenka,

    Maybe a plugin could help you out with that? https://wordpress.org/plugins/tags/gzip/

    Best regards,
    Rikard

    #987530

    I have the same problem. I am using wp-rocket, and they say, may be the theme conflicts by adding its own GZIP compression rules …

    #987559

    Hi,

    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,
    Dude

    #989245

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘GZIP compression’ is closed to new replies.