
內容簡介
當您的文章收到大量評論時,可能會影響網站的效能。生成評論的 HTML 和傳送所有評論的 HTML 可能會拖慢頁面載入速度。此外掛可讓頁面不帶評論載入,並使用次要 AJAX 請求來下載評論。通過 AJAX 也可導航至評論頁面。在測試版本中,每頁有 100 則評論時,onload 事件的觸發速度快了 2 倍,HTML 的生成速度快了 6 倍,HTML 下載速度快了 3 倍,未壓縮的 HTML 大小減少了 17 倍。此外掛的開發最初是由 Google 贊助的,非常感謝!
外掛標籤
開發者團隊
原文外掛簡介
When your posts get a lot of comments, performance can be a concern. The generation of the comment HTML and the delivery of all that HTML can slow down your page loads. This plugin has pages load without comments, and then uses a secondary AJAX request to pull down the comments. Navigating through the pages of comments is also handled via AJAX. On my test install with 100 comments per page, the onload event fires 2x faster. The HTML is generated by the server 6x faster. The HTML downloads 3x faster. The uncompressed size of the HTML is reduced by a factor of 17.
Initial development of this plugin was commissioned by Google — many thanks!
