[Webkit-unassigned] [Bug 38690] Submitting a POST that leads to a server redirect causes all cached items to redownload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 8 14:39:44 PDT 2010


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


Darin Fisher (:fishd, Google) <fishd at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fishd at chromium.org,
                   |                            |japhet at chromium.org




--- Comment #6 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2010-07-08 14:39:44 PST ---
It looks like this is related to the code in MainResourceLoader::willSendRequest.
There is a call to isPostOrRedirectAfterPost, and if that returns true, we force
the cache policy to ReloadIgnoringCacheData.  We then modify the ResourceRequest
of the DocumentLoader.

Subresources are impacted by this because FrameLoader::subresourceCachePolicy
inspects the ResourceRequest of the DocumentLoader.  As a result, all of the
subresources become conditional.

(This loader system is making my head explode.)

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