Support » Plugin: Asset CleanUp: Page Speed Booster » Newbie – getting started

  • Resolved SuffolkSi

    (@suffolksi)


    Hi
    Just activated the plugin as I had 12 js files I wanted to optimise as reported in the ‘Gift of Speed’ Javascript Optimisation Test’ In particular some social media widgets and sharing buttons. I don’t think I need any of these.
    I can’t seem to find them via the plug in. Am I missing something obvious?
    https://www.crystalcombinations.co.uk is the website I want to optimise.
    Thanks
    Simon

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @suffolksi happy to help! Have you actually went to “CSS & JS Manager” -> “Homepage” tab (which is the default one) and you haven’t seen any list of CSS/JS that you could manage? Have you tried to edit a page/post? There should be a meta box there. If you can make some print screens and add them here, it would be even better! You can use something like https://prnt.sc/


    This is a screenshot showing the js files I want to get sorted according to Gift of Speed.
    I can see several js and css files I can manage through your plugin, eg. contact form 7, several woocommerce js/css, but I can’t see the ones I think I need to get sorted according to Gift of Speed (and GTMetrix)
    (hope I’ve added the screenshot OK!)

    Plugin Author Gabe Livan

    (@gabelivan)

    @suffolksi these files are the resulting ones printed in the HTML source code.

    Some of them are appended by Cloudflare (which Asset CleanUp doesn’t have direct control on and you can enable/disable via the Cloudflare Dashboard, which is the ideal way to control) – e.g. email-decode.min.js

    The same goes for Autoptimize generated scripts. Asset CleanUp unloads the ones that are useless, then Autoptimize takes the remaining loaded files and combines them into fewer files and prints them.

    Trust me, downloading scripts from Facebook.net, Tumblr.com (which are external and they are perfectly optimized to work like that), Twitter.com (for the Widgets) and going to the extent that you want to make them smaller just for the sake of ~2 KB is something I wouldn’t recommend. The reports from the page speed score tests shouldn’t always be taken literally and try to go and squeeze every KB. It can lead to more hassle. Moreover, these kind of scripts aren’t render-blocking (but asynchronous) and they would trigger after the page loads so the user experience will be a good one without having to wait until let’s say Twitter.com will download everything from their website.

    Asset CleanUp, at this time (later on it will deal with hardcoded scripts), deals with CSS/JS that are enqueued the WordPress way. Here’s an article that will give you an idea of what I’m talking about: https://developer.wordpress.org/themes/basics/including-css-javascript/

    Hope it helps and I’ll be happy to further assist you 😉

    Many thanks Gabe
    Your help and advice is very much appreciated.A really excellent reply!
    I look forward to using your plugin and implementing your advice.

    Plugin Author Gabe Livan

    (@gabelivan)

    @suffolksi anytime, one of my main goals is to make this plugin as easy to use as possible. I’m aware that some things can be confusing with so many page speed tools and plugins out there. That’s why more documentation will come up about using plugins together 😉

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.