[Webkit-unassigned] [Bug 32423] Incorrect cache behavior with dynamic scripts after page-refresh

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 14 23:31:42 PST 2009


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


John-David Dalton <john.david.dalton at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.david.dalton at gmail.com




--- Comment #4 from John-David Dalton <john.david.dalton at gmail.com>  2009-12-14 23:31:42 PST ---
Ok so basically the first time the page loads in Chrome 3+, or Safari 4.0.4 you
get (use "revised test case" url):

// First attempt (everything works great)

added script/preload (script #2)
added text/javascript (script #1)

loaded script/preload in 3265ms (script #2) <- should now be cached
added text/javascript (script #2) <-- inserted as text/javascript
loaded text/javascript in 14ms (script #2) <-- loads instantly from cache 

loaded text/javascript in 4275ms (script #1)


// Refresh the page

added script/preload (script #2)
added text/javascript (script #1)

loaded script/preload in 3265ms (script #2) <- should now be cached
added text/javascript (script #2) <-- inserted as text/javascript

loaded text/javascript in 4275ms (script #1)
loaded text/javascript in 3210ms (script #2) <-- should've loaded from cache

// Note: you have to kill the tab or browser session for the "First attempt" to
work again.

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