Support » Fixing WordPress » Enabling Compression

  • Hi all,

    I was checking my page speed etc.. within https://developers.google.com/speed/pagespeed/insights

    & I got a bad red marker telling me to “Enable compression for the following resources to reduce their transfer size by 175.1KiB (69% reduction)”

    Plus on the mobile site I got:

    Eliminate render-blocking JavaScript and CSS in above-the-fold content
    Your page has 6 blocking script resources and 4 blocking CSS resources. This causes a delay in rendering your page.

    &
    Leverage browser caching
    Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.

    I’ve been building websites for years but for my own marketing/affiliate reasons really. Now I am getting more & more into building for others & want to make sure everything is Google friendly

    Could anyone advise how I do this from within my wordpress control panel ?

    Thankyou very much for you help in advance,

    Richard

Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You don’t do any of those from within the WordPress control panel. None of those have anything to do with WordPress.

    Compression is something you would enable at the server level. Either .htaccess or your nginx.conf files.

    Same goes for browser caching, enabling expires times and such properly is a matter of getting your headers correct.

    Javascript and CSS blockers could be fixed by adjusting the code of your themes or plugins to be a bit more friendly when it comes to placement of their JS and CSS files, but that’s a matter of writing the code, not merely changing some settings.

Viewing 1 replies (of 1 total)
  • The topic ‘Enabling Compression’ is closed to new replies.