<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>256267</bug_id>
          
          <creation_ts>2023-05-03 12:07:18 -0700</creation_ts>
          <short_desc>WebKit/Safari Storage Limit is unrealistically low: annoying Popups after 1GB</short_desc>
          <delta_ts>2023-05-04 09:09:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Website Storage</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>255095</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sanjay Kumar">hypertree</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sihui_liu</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1952699</commentid>
    <comment_count>0</comment_count>
    <who name="Sanjay Kumar">hypertree</who>
    <bug_when>2023-05-03 12:07:18 -0700</bug_when>
    <thetext>Here is my prior request for higher limit for Storage in Safari:
https://bugs.webkit.org/show_bug.cgi?id=199614

It was closed then as INVALID but I am hoping with renewed acceptance of &quot;Add To Home Screen&quot; apps - this gets a more serious consideration.

Problem here is that Safari limits you to just 1 GB for total storage per domain. After 1GB Safari shows an annoying popup for each additional 100 or 200 MB download - user has to be attentive and respond to 10-20 prompts if its a 3-4GB download. This is a bad user experience - and its uniquely Safari/Webkit - no other browser has such restrictive or annoying storage policy.

This has a crippling effect on our app (AvNav) which is used by pilots to fly around the country and you can not save map tiles for whole country in 1 GB (barely enough for vector maps - you will need 3-4GB for raster maps).

So how about:

b) Increase the default Quota from 1GB to 4GB - we should not cripple &quot;Home Screen&quot; apps by holding them to yesterdays limit when everything else has skyrocketed  - Native App size limit was raised to 4 GB in 2015! see: https://sensortower.com/blog/ios-app-size-growth

a) allow Apps/sites to request a limit - and grant it subject to user approval - there are standards for this:
https://bugs.webkit.org/show_bug.cgi?id=185405

I hope you will consider this seriously - thank you</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952728</commentid>
    <comment_count>1</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2023-05-03 14:13:22 -0700</bug_when>
    <thetext>Hi Sanjay,

We&apos;ve planned to switch to calculating quota based on hard disk size like other browsers (e.g. an origin can use up to 60% of total disk space in browser, which should be much bigger than 1 GB for recent devices).

This is landed on trunk https://commits.webkit.org/263250@main (we cannot comment on when this will ship to customer).

*** This bug has been marked as a duplicate of bug 255095 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952759</commentid>
    <comment_count>2</comment_count>
    <who name="Sihui Liu">sihui_liu</who>
    <bug_when>2023-05-03 15:47:48 -0700</bug_when>
    <thetext>Actually the new quota policy is in Safari Technology Preview 169 released today: https://developer.apple.com/safari/resources/.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952885</commentid>
    <comment_count>3</comment_count>
    <who name="Sanjay Kumar">hypertree</who>
    <bug_when>2023-05-04 07:28:37 -0700</bug_when>
    <thetext>Thank you Sihui and Youenn  - this is such a great news! Look forward to seeing it in Safari soon since it already landed in Tech Preview.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1952914</commentid>
    <comment_count>4</comment_count>
    <who name="Sanjay Kumar">hypertree</who>
    <bug_when>2023-05-04 09:09:04 -0700</bug_when>
    <thetext>I just downloaded all charts and maps for my program: 3.8GB - no issues, awsome!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>