W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2011

[Bug 14194] Request: specification for script preloading

From: <bugzilla@jessica.w3.org>
Date: Wed, 21 Sep 2011 18:34:24 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1R6Rcm-00027s-Ki@jessica.w3.org>

--- 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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:03 UTC