[Webkit-unassigned] [Bug 79773] Images loaded through cross-fade() are not cached

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 13 07:19:59 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=79773


Shezan Baig <shezbaig.wk at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |shezbaig.wk at gmail.com
                   |kit.org                     |




--- Comment #2 from Shezan Baig <shezbaig.wk at gmail.com>  2012-04-13 07:19:58 PST ---
Created an attachment (id=137083)
 --> (https://bugs.webkit.org/attachment.cgi?id=137083&action=review)
reduced test case

reduced test case by removing cross-fade (which appears to no longer work in firefox, btw).

We load 2 images, and when mouse hover on the first image, we change it to the second image.  In firefox, this change is instantaneous, but in webkit, this change reloads the image.

the issue has nothing to do with cross-fade itself, but has to do with the fact that cached resources is not reused when there are no cache headers present.  Specifically, CachedResource::freshnessLifetime currently returns 0.  The comment says that other browsers do this, but it seems like firefox doesn't.

I plan to fix this by bumping it up from 0 to 3600 (i.e. 1 hour).  I'm open to alternate suggestions though.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list