while optimizing a Moodle 2.9.3+ site, Google PageInsights (and GTMetrix and WebPageTest) reported back to me asking me to remove the above-the-fold content.
Eliminate render-blocking JavaScript and CSS in above-the-fold content
However when diving deep into outputrequirements.lib
and outputrenderers.lib
, there's no way of changing the parameters of the loaded files, since I am trying to add the async/defer to the script tags on the header.
- http://xxx/…le-min.js&rollup/1454704161/mcore-min.js
- http://xxx/…eme/jquery.php/core/jquery-1.11.2.min.js
- http://xxx/….php/theme_xxx/fitvids-1.1.0.js
- http://xxx/…uery.php/theme_xxx/nprogress.js
- http://xxx/…php/theme_xxx/unslider_1.0.2.js
- http://xxx/…php/theme_xxx/eventswipe_0.5.js
- http://xxx/…/theme_xxx/backstretch_2.0.6.js
- http://xxx/…xxx/bootstrap_plugins/transition.js
- http://xxxx/…/theme_xxx/bootstrap_plugins/tab.js
- http://xxx/…theme_xxx/bootstrap_plugins/modal.js
- http://xxx/…hp/theme_xxx/modernizr_2.8.3.js
- http://xxx/….php/1454704161/lib/javascript-static.js
I'm very open to any suggestions! Thanks