Re: Allow to return same NodeList object for queries like getElementsByTagName, getElementsByClassName and getElementsByName

On Fri, 22 Jan 2010 14:11:40 +0100, Anton Muhin <antonm@chromium.org>  
wrote:
> Is it possible to allow caching for those cases?  Firefox caches those
> node lists for a long time (Maciej found the related bug
> https://bugzilla.mozilla.org/show_bug.cgi?id=140758).  IE8 caches as
> well.   Opera, Safari and Chrome do not.

Sorry for the somewhat late reply. We'd prefer not to change the  
specification here and keep the requirement. We're afraid of potential  
hard to detect incompatibility bugs if you sometimes cache and sometimes  
don't. We're also not convinced that you cannot get the performance win by  
other means.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Friday, 12 February 2010 11:52:55 UTC