[Webkit-unassigned] [Bug 85562] New: [Qt] Webkit does not honor html cache-control metatags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 3 17:48:13 PDT 2012


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

           Summary: [Qt] Webkit does not honor html cache-control metatags
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://jsbin.com/obilez
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: keith.kyzivat at nokia.com
                CC: hausmann at webkit.org, vestbo at webkit.org,
                    laszlo.1.gombos at nokia.com


Qt Webkit does not honor html cache-control metatags:
<META http-equiv="Cache-control" content="no-cache">
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Expires" content="-1">

These tags are ignored when creating http cache.
Below are some steps for reproducing this on Linux.

1. Clear any existing QtTestBrowser cache by removing the following directory:
   rm ~/.cache/Nokia/QtTestBrowser
2. Start QtTestBrowser (Tools/Scripts/run-launcher --qt)
3. Tick the Use Disk Cache option in the Settings menu.
4. Enter the following URL in the url bar and hit enter: http://jsbin.com/obilez 
   or take the attached html content, stick it on a webserver, and point QtTestBrowser at that.
5. Run the following command to show that the content was cached ("Binary file <x> matches"), despite directives that instruct the browser not to cache:
   find ~/.cache/Nokia/QtTestBrowser/data7 | xargs grep '<META http-equiv="Cache-control" content="no-cache">'

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