[Bug 14194] Request: specification for script preloading

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14194

--- Comment #4 from Boris Zbarsky <bzbarsky@mit.edu> 2011-09-21 18:34:24 UTC ---
> This preloads my image and (I think) keeps it in memory.

It keeps the compressed image data in memory (or on disk, of course; see
below).  Decompression can happen synchronously when you use the image; this
can lead to significant pauses (order of seconds) when the image is actually
used.

Are you OK with only preloading compressed representations of scripts and
having a noticeable decompression or fetch delay on use, like for images?

> Is that memory ever cleaned up if I don't use the image?

I can't speak to other UAs, but in Gecko it's not.  Yet.  We're considering
changing that.  Of course the OS can also cause it to be swapped to disk, in
which case it has to be read from there too via a page fault.

Again, is that acceptable for script preloading?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 21 September 2011 18:34:26 UTC