- This topic has 1 reply, 2 voices, and was last updated 11 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember and eStore JS Rending in Header
Tagged: js rendering
I have installed eMember, eStore, Affiliates and the PDF Stamper to my WP site. I work hard to keep my site load time down, but with just these few products, according to Google PageSpeedInsights the JS and CSS render above the fold and slow down my site. Is there a way to have these load in the footer instead of the header? Or will that make them not work? A score of 77 with one jpg image seems pretty dismal. I use Genesis with Dynamik theme.
Thanks.
Hi, I understand what you are trying to do. There is a good way handle it which will give you the best result.
You can use a plugin that combines all the JavaScript files on the page and loads that one file (this way instead of loading 5 different files you are loading only 1 file that has the content of those 5 files). The same goes for CSS. Plugins like W3 Total Cache will allow you to do that.
You can use a plugin like that then view the HTML source of your page and specify which JS files you want to combine together. The plugin will work fine with that.