Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25254

    I’m using gtmetrix.com to see where I can improve the load-time of my site.

    It’s saying I have some critical issues i need to fix:

    1. It’s asking for the removal of query strings from static resources. (Resources with a “?” in the URL are not cached by some proxy caching servers). I didn’t add any question marks, so I’m not quite sure what this means. Is this possible to remove?

    2. It suggests I should defer parsing of Javascript (Defer parsing JavaScript to reduce blocking of page rendering.) Any idea how to do this?

    3. I have a lot of images that are missing width and/or height attributes. How can I add those?

    Thanks!

    – John

    #126267

    Hi,

    1.) You’re using W3 Total Cache? Look for the “Prevent caching of objects after settings change” option on the browser cache settings tab.

    2.) Use minifying plugins to combine all js and css scripts: http://wordpress.org/plugins/bwp-minify/

    3.) The width and height attributes are not added inline because you need the site to be responsive.

    Regards,

    Ismael

    #126268

    Thanks Ismael… I’ll look into those.

    Cheers,

    – John

    #126269

    Hey,

    Let us know if it fixes the pageload somehow.

    Regards,

    Ismael

    #126270

    Hi,

    http://wordpress.org/plugins/bwp-minify/ is usually what adds the question marks to static resources. There is an option in the panel for that plugin to stop doing that. If you are using jetpack, it is notorious for adding and removing lots of things. It is not done by the theme or wordpress, so one of your plugins is doing it.

    There is also an option in the above plugin as to whether you want to enqueue the javascript at the start or at the end. The only things that really should be in the front is the main jquery.js and avia.js . The rest of javascript all can go in the back.

    Thanks,

    Nick

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Trying to optimise my site and have a couple of questions.’ is closed to new replies.