[whatwg] Proposal for separating script downloads and execution

Kyle Simpson getify at gmail.com
Tue Feb 22 15:39:50 PST 2011


> But note that image loads very explicitly do NOT have HTTP semantics, last 
> I checked.  In Gecko they coalesce very aggressively in a cache that sits 
> in front of the network layer, including coalescing across documents, etc. 
> This cache applies to both in-progress loads and completely loads (it's 
> actually a cache of image objects).

This seems strange to me. Generated images (like in captchas, etc) have to 
be common enough that the same semantics for "don't cache unless I say it's 
ok" would apply somewhat equally to JS as images, right? What's the 
reasoning that says that JS is more likely to be dynamically created (and 
thus needs proper always-request semantics) where images do not have that 
need?


--Kyle


 




More information about the whatwg mailing list