[Webkit-unassigned] [Bug 185851] New: Memory Cache limit should be flexible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 21 17:06:30 PDT 2018


            Bug ID: 185851
           Summary: Memory Cache limit should be flexible
           Product: WebKit
           Version: Safari 11
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: saifee.ratlamwala at cam.org.au

The Memory cache limit for Webkit was recently bumped to 50MB with Bug 181924. With the support for Service Workers in WebKit, this limit seems to be quite low. 

If you are only caching html and css, it probably doesn't matter, but if you are trying to develop PWAs that would cache a lot more (including media etc), this limit seems to be really low. Could WebKit allow the storage to be more flexible based on available storage space. 

I understand that most browsers are going along with the following guidelines:

"The amount of storage is dependent upon how much available disk space the customer's device has. The general range is 50MB over 20GB. 

The common rule is 20% of available space or the following breakdown:

<= 8GB Free - 50MB
32-128GB Free - 4% of Volume SIze
128GB - 4% or 20GB, whichever is smaller"

Of course the other way could be for Safari to ask for user permissions and open up an API to allow developers to ask for permissions to store more data.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180522/98dcfba1/attachment-0001.html>

More information about the webkit-unassigned mailing list