[Webkit-unassigned] [Bug 38690] New: 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 May 6 14:21:45 PDT 2010


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

           Summary: Submitting a POST that leads to a server redirect
                    causes all cached items to redownload
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wingzx3 at hotmail.com


When you submit a form to a webpage that then responds with a header location
redirect (ie 302) it causes webkit to load the page from scratch.  None of the
previously cached images,css,html,etc are used.  Instead it will redownload
everything from the server again.  This pattern is highly prevalent in web
applications and leads to lower performance of those applications.

As far as I can tell, this affects all Webkit versions and derivatives such as
Chrome and all windows platforms.  I have not tested it on the Mac.

Here is the flow.

1. Submit POST to http://127.0.0.1/firststep.php
2. Server responds.  Status: 302\nLocation: http://127.0.0.1/nextstep.php
3. Webkit loads http://127.0.0.1/nextstep.php without using any cached items.

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