[wp-trac] [WordPress Trac] #14372: Option to load comments asynchronously, for speed
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 21 05:25:59 UTC 2010
#14372: Option to load comments asynchronously, for speed
-----------------------------+----------------------------------------------
Reporter: markjaquith | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: normal | Keywords: google comments
-----------------------------+----------------------------------------------
This comes as a suggestion from Google, who wants to help publishing
platforms deliver content faster.
The idea is to have an option to not deliver comments in the page's
initial HTML request, but to load them with an asynchronous JavaScript
call. This would cut down on page generation time, reduce page size, and
make page content load and show up faster.
This also allows caching plugins to avoid flushing the cache for that page
when a new comment is approved. They'd only have to monitor for post
content changes. This means more cache hits, which translates into a
faster average page load.
This solution would need to handle comment permalink requests, and scroll
to that comment once the comments were loaded. We'd also have to delay
comment-related JS (like threading support) until the comments were
loaded.
Is this core? Can we do it without requiring explicit theme support?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14372>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list