2
我的朋友想加快他的網站。 他送我一些分析爲什麼WordPress將jquery放在前面?
這是分析
Your page has 1 blocking script resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
http://***.id/wp-includes/js/jquery/jquery.js
與它是它的WordPress的文件的問題。
爲什麼heck wordpress在網站頂部包含jquery.js。
它不應該在底部?
像這樣:http://wordpress.stackexchange.com/a/51140 – LGSon
它可以在任一,但如果它在底部,確保其他使用jQuery的腳本使用'$(document).ready(...)' – casraf