這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

AJAX Comment Loading

描述

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!

安裝

  1. Upload the ajax-comment-loading folder to your /wp-content/plugins/ directory

  2. Activate the “AJAX Comment Loading” plugin in your WordPress administration interface

  3. View a page with more than X comments.

常見問題

Why doesn’t it work on my theme?

Your theme may substantially deviate from standard WordPress comment section HTML layout. The plugin was developed against the Twenty Ten theme. Try another theme, or try standardizing your theme’s HTML. I don’t plan to add support for other markup — I’d rather that people work on standardizing their theme comment markup instead.

Doesn’t this prevent search engines from seeing comments?

No, it doesn’t! Through the magic of Google’s “AJAX Crawling” specification, search engines (currently Googlebot and Bingbot) will be made aware that the page includes AJAX-fetched content, and will request your page with a special URL that will have this plugin skip AJAX-generation and instead give the full HTML to the crawler.

評價

There are no reviews for this plugin.

貢獻者及開發者

“AJAX Comment Loading” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 AJAX Comment Loading 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Original release.
  • Initial development commissioned by Google — thanks!