Title: AJAX Comment Loading
Author: Mark Jaquith
Published: <strong>2012 年 7 月 9 日</strong>
Last modified: 2012 年 7 月 9 日

---

搜索插件

![](https://ps.w.org/ajax-comment-loading/assets/banner-772x250.png?rev=569569)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/ajax-comment-loading_fcfcfc.svg)

# AJAX Comment Loading

 作者：[Mark Jaquith](https://profiles.wordpress.org/markjaquith/)

[下载](https://downloads.wordpress.org/plugin/ajax-comment-loading.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/ajax-comment-loading/#description)
 * [评价](https://cn.wordpress.org/plugins/ajax-comment-loading/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ajax-comment-loading/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ajax-comment-loading/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「AJAX Comment Loading」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Mark Jaquith ](https://profiles.wordpress.org/markjaquith/)

[帮助将「AJAX Comment Loading」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ajax-comment-loading)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ajax-comment-loading/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ajax-comment-loading/)，或通过[RSS](https://plugins.trac.wordpress.org/log/ajax-comment-loading/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ajax-comment-loading/)。

## 更新日志

#### 1.0

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

## 额外信息

 *  版本 **1.0**
 *  最后更新：**14 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.4 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ajax-comment-loading/)
 * 标签
 * [ajax](https://cn.wordpress.org/plugins/tags/ajax/)[comments](https://cn.wordpress.org/plugins/tags/comments/)
   [performance](https://cn.wordpress.org/plugins/tags/performance/)
 *  [高级视图](https://cn.wordpress.org/plugins/ajax-comment-loading/advanced/)

## 评级

 3 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ajax-comment-loading/reviews/)

## 贡献者

 *   [ Mark Jaquith ](https://profiles.wordpress.org/markjaquith/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ajax-comment-loading/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://txfx.net/wordpress-plugins/donate)