[Webkit-unassigned] [Bug 29082] New: html5 offline caches too much?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 9 06:29:35 PDT 2009


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

           Summary: html5 offline caches too much?
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://futtta.be/html5/offline.php
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: futtta at gmail.com


did some testing with html5 offline using safari 4.0.3 with webkit 531.9.1 (on
win xp, but a friend confirmed this behavior on safari in iPhone OS 3.0.1) and
according to those tests (and my no doubt limited understanding of how the
offline appcache should work) it seems too much is stored in the offline cache?

an example on http://futtta.be/html5/offline.php

* offline.php:
** has "no-cache" and "expires" headers set in php
** shows server unix timestamp (so page is different at each request)

* manifest.php:
** declares mozchomp.gif as to be cached ("explicit", using "CACHE:")
** prohibits offline.php from being cached ("online whitelist", using
"NETWORK:")

when accessing the page, safari stores data in the offline cache as it should,
but when refreshing the page, the html-output of offline.php seems to be also
fetched from the offline cache, as the timestamp does not change any more.

now please correct me if i'm wrong, but caching offline.php should not happen,
even if it would not have been explicitly excluded in the manifest?

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