Home › Forums › Aside WordPress Theme › JavaScript to Footer
- This topic has 5 replies, 2 voices, and was last updated 10 years, 1 month ago by
SeaTheme.
-
AuthorPosts
-
April 14, 2016 at 11:41 am #10345
admiribro
ParticipantDear,
As I have a big problem with Javascript by the results of GTmetrix – https://gtmetrix.com/reports/tbh.ba/cWCDtaXJ
I need solution how to move it to the footer.Thx in advance
April 14, 2016 at 12:13 pm #10348Hi,
All js files of Aside theme have been in footer already. The default js file(jquery.js…) of WorPress are in header, js files of some plugins are in header also. If we move the default js file(jquery.js…) of WorPress to footer, the plugins wouldn’t work.
https://www.dropbox.com/s/chib4flxddlpkxl/QQ20160414-0.jpg?dl=0
You need to check if there is js position option on these plugins. As me know, the Revo slider could.April 14, 2016 at 1:00 pm #10349admiribro
ParticipantSo what do you suggest to do?
Im sure there is solution of the problem, some plugin or plugin paid for PRO?April 14, 2016 at 10:47 pm #10350I checked the the results of GTmetrix, it doesn’t suggest to move all js to footer. Did I miss somethings?
April 15, 2016 at 9:15 am #10351admiribro
Participanthttps://gtmetrix.com/reports/tbh.ba/Idos1fvM
If you take a look first thing “Deffer JavaScript” it is 0 and I have the biggest problem about that, what is the sulution for fixing that problem?
April 16, 2016 at 1:09 am #10355In order to load a page, the browser must parse the contents of all
<script>tags, which adds additional time to the page load. By minimizing the amount of JavaScript needed to render the page, and deferring parsing of unneeded JavaScript until it needs to be executed, you can reduce the initial load time of your page.Based on suggest, you need to try to deactivate some plugins.
https://s.ytimg.com/yts/jsbin/player-en_US-vflELI9Sd/base.js (924.4KiB) https://s.ytimg.com/yts/jsbin/www-embed-player-vflukP2IO/www-embed-player.js (163.4KiB) http://staticxx.facebook.com/connect/xd_arbiter.php?version=42 (29.0KiB of inline JavaScript) https://staticxx.facebook.com/connect/xd_arbiter.php?version=42 (29.0KiB of inline JavaScript) ... -
AuthorPosts
- You must be logged in to reply to this topic.
