Thread Starter
mrppp
(@mrppp)
odd thing is using the page boost htaccess in one site on same server basically a replica of other site passes but the site i added to now
i even copied pasted one to the other any ideas why?
Both BPS set identical to each other
shows,
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.
Plugin Author
AITpro
(@aitpro)
That is a heads up/explanation message in Google PageSpeed Insights. Do you see a green checkmark or a red exclamation mark next to the explanation? 😉
Most js scripts should be moved to the bottom of your page – some cannot be moved – this will break some things that need the js to load either in the head section or somewhere near the top of the file somewhere.
You can try minifying plugins, but i highly discourage that you do that and will not go into all the reasons why that is a bad idea out of diplomacy. It is better in my opinion to manually combine scripts if that is what you are looking to do. WordPress has a pre-made function that moves/loads js scripts to the bottom of the page that you can use to modify plugins enqueue functions with.
Bottomline it is more of a headache then it is worth to do any of these things for the very slight gain that you will see. Or in other words, don’t bother with this stuff.
Plugin Author
AITpro
(@aitpro)
Also 80 or above is a pretty good score in PageSpeed Insights.
Thread Starter
mrppp
(@mrppp)
ok thanks, i get an orange exclamation on one site green on the other, gets 85 score on the green one the other 79
Plugin Author
AITpro
(@aitpro)
hmm the only reason I can think of for this is that you have a large amount of external scripts loading on your site, such as scripts loading that are pointing to external websites/domains.
To check if your internal caching is working correctly and check your headers you can use Firefox with Firebug, Firephp, Yslow and Live HTTP Headers. All are great Firefox add-ons to allow you to check what is up with your site.
Thread Starter
mrppp
(@mrppp)
Thanks,it looks like i could spend weeks trying to work all that out and gain a few milli seconds lol it loads i will rejoice in that 😉
Plugin Author
AITpro
(@aitpro)
Yep, exactly so that is why you need to figure out what is really important or not that important before getting too deep into it. I have messed around with doing all the additional things moving and manually minifying scripts and to tell you the truth it is just not worth the effort for the minimal speed you gain. Sure you make all the speed testing apps happy, but that is not what is really important anyway. Bottom line is this: is your site performing well or not. If not, then look at the major things like is your site loading too much crap in general or all at the same time, what is the size of your site pages after they are cached, are all your image files optimized and the total number of external links loading on your site.
Thread Starter
mrppp
(@mrppp)
Think the key is use only the pluging essential, so now to work out what i really need.
To start with if i am using other security plugins like Skt NURCaptcha, Stop Spammer Registrations Plugin (http://ww.wp.xz.cn/plugins/stop-spammer-registrations-plugin/)
are these really needed if using BP?
Plugin Author
AITpro
(@aitpro)
Well to be diplomatic I’ll put it this way. You can probably do everything using just .htaccess code, but if you are looking for a feature in another plugin that cannot be done with .htaccess code then install that plugin. And/or if installing another plugin makes this simpler for you then install the other plugin. 😉
Plugin Author
AITpro
(@aitpro)
I think it is good thing to install plugins and test them and see if they are doing everything you were looking for. If so, then keep em. If not, then nuke em.