Link to home
Start Free TrialLog in
Avatar of Marco Gasi
Marco GasiFlag for Spain

asked on

Google PageSpeed and jQuery

Hi all.
Though all my sites pass the 'mobilegeddon' Google test successfully, they are downgraded by PageSpeed test and I'm working on this just now. But the most great problem is the javascript resources which prevent the rendering of the page above the fold: these js resources are bootstrap.min.js and jquery.min.js and obviously other files not so small to be incorporated. I have all these files at the bottom of the page, immediately before of the closing tags for body and html dom elements.
The same problem occurs with stylesheets (these ones in the head section of the page): bootstrap.min.css and others files I can't just incorporate in the page because obviously this would make worst my problem.

I would like an ultimate explanation about how to pass the Google tests: as I said, I use largely used libraries and I link them in the correct way (I thought) and I really don't understand what Google want, but I think that a good result could be a good business card to present to potential clients.
Thank you for any advice.
Avatar of erzoolander
erzoolander

Where are you loading them from?  Locally saved on the site - or from the CDNs?
Avatar of Marco Gasi

ASKER

Hi, erzoolander, thanks for reply.
jQuery apart, are all linked locally.
ASKER CERTIFIED SOLUTION
Avatar of erzoolander
erzoolander

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry for the long delay, but... it worked! Thank you! I thought Google guys had some more precise tool to give their response in such tests. Just loading jQuery locally made my site pass from  60% to 89% and the long list of files to handle somehow disappeared. I'm going to post another question about that 11% left :-)