Am struggling with speed on my site getting a overall grade of F from Yslow…
I read that moving JS into the footer can help this… how would i go about it? I found a plugin that was supposed to do this but I don’t think it works with wordpress 9 cause am still getting a F for Javascript :~
Putting js in the bottom is not really the thing that I would start with.
It’s better to do first things that affect users of your site, such as combining js files, you currently have 27 different js files (plus css), and minifying them if possible. This will make your site load much quicker. If you can enable gzip conmpression on your server.
After that you need to setup expire headers for js/css, since I don’t think you modify them often.
This will bump your load speed and your YSlow grade.
For minifying you can use jsmin. Gzip should be enable on your server for specific request (like js/css files), if you have apache mod_deflate is the module for this.
Expire headers you can write in apache (if you have linux host).
Just to be clear you will need eventually to put as much js as possible into footer, since it will make additional improvements.
I don’t know if you read it already, but you can click on category titles in YSlow and it will go to pages with description of each problem and some way to solve it.
If you visit http://rakaz.nl, you will find a method (using PHP) to automatically put all your JS files into a single one, so that you only make one HTTP request. This is one of the main bottlenecks (HTTP requests). The same can be done with CSS.