• Resolved jefftg

    (@jefftg)


    Hello I’ve been using Jetpack on my blog site and the Google Page Speed test is showing a major issue in ‘Enable Compression’ all related to Jetpack and I’ve got this in my htaccess file

    # Cache Files
    <filesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$”>
    Header set Cache-Control “max-age=604800, public”
    </filesMatch>

    Wondering why it’s the only one not responding to it?

    http://amusingz.com

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I had a look at your site’s Google Pagespeed Insights, and noticed that the following URLs were mentioned under “Enable compression”:

    http://i.wpne.ws/fW8c

    The first URL is an SVG file, used to serve some of the icons displayed on your site. Since your htaccess rule doesn’t include svg files, it won’t be affected by your changes.

    The 3 other URLs are hosted on Facebook and Twitter. Since the files aren’t hosted on your site, that htaccess rule won’t affect them.
    You should be able to improve your ratings, and get rid of those 3 files, by switching to a different button style under Settings > Sharing in your dashboard. If you do not use the “Official Buttons” style, your site won’t use iFrames to display the Facebook and Twitter buttons, and thus won’t include the 3 files mentioned in Google Pagespeed Insights.

    I hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Enable compression Google Page Speed’ is closed to new replies.