[wp-hackers] AJAX and responsiveness

Robert Deaton false.hopes at gmail.com
Thu Aug 17 08:00:20 GMT 2006


On 8/17/06, Matt Mullenweg <m at mullenweg.com> wrote:
> Part of the perceived speed of WP has nothing to do with execution, but
> how it feels. Some of the new AJAX, for example deleting and approving
> and unapproving comments, does save pageloads but I think under high
> latency situations (ie, dialup) it actually makes WP seem slower and
> sometimes broken. (But dangit if I don't love the approve/unapprove blinky.)
>
> I don't think there's anything wrong with updating the UI immediately as
> a result of the user's actions, and then queuing up the requests to run
> in the background. (And queuing them, not breaking if more than one
> lines up at the same time.)

I think updating the UI immediately is fine, if we watch _very_
carefully for any condition where a user might be shown the UI for
something they're not allowed to do. This involves a very fine-toothed
comb and much testing, and if everyone is willing, then I say we
should go for it.

> Anyone have any proposed solutions or patches for this?

/me points the finger at mdawaffe. :)

-- 
--Robert Deaton


More information about the wp-hackers mailing list