[wp-trac] [WordPress Trac] #24388: Optimize revisions diff loading - especially when many revisions
WordPress Trac
noreply at wordpress.org
Fri May 24 13:59:53 UTC 2013
#24388: Optimize revisions diff loading - especially when many revisions
-----------------------------+--------------------
Reporter: adamsilverstein | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Revisions | Version: trunk
Severity: critical | Resolution:
Keywords: needs-patch |
-----------------------------+--------------------
Comment (by adamsilverstein):
Replying to [comment:4 nacin]:
> Why are we doing each diff as a single ajax request? That seems very
wrong.
working on grouping requests...
idea is to load diffs asynchronously - initial code had all diffs loading
with a single initial ajax requests, however this can take a while to
calculate, especially if there are many diffs or there are lots of
changes. if all diffs are calculated at load, there could be a long delay
before the page displays at all. the idea is to allow user interaction
while the diffs are calculated/loaded - hence the individual requests.
new patch (coming soon) limits concurrent ajax requests, a second will
group requests when there are many revisions to limit the total number of
requests made by the page.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24388#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list