---
title: "Updates to Storage Policy"
description: "Starting in Safari 17 and WebKit apps on iOS 17, iPadOS 17 and macOS Sonoma, storage quota is a percentage of disk space."
url: "https://swe.quest/articles/updates-to-storage-policy-f18ae8a0ac118dec"
canonical: "https://webkit.org/blog/14403/updates-to-storage-policy/"
source: "WebKit"
published: "2023-08-10"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 4
tags: ["browsers","frontend"]
---

# Updates to Storage Policy

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2023-08-10, 4 min read, Announcement. Original: [https://webkit.org/blog/14403/updates-to-storage-policy/](https://webkit.org/blog/14403/updates-to-storage-policy/)

## Summary

Starting in Safari 17 and WebKit apps on iOS 17, iPadOS 17 and macOS Sonoma, storage quota is a percentage of disk space. Each origin can use up to 60% of the disk in browser apps and 15% in other apps, with an overall cap of 80% or 20%. Cross-origin frames get 10% of the main frame's quota, and Safari no longer prompts users for more space. When the overall quota is exceeded or the system is short on storage, WebKit evicts whole origins in least-recently-used order, skipping origins with active pages or persistent storage. The Storage API's estimate(), persisted() and persist() are now fully supported, but developers still need to handle QuotaExceededError.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- Web storage APIs ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))
- IndexedDB basics

## Keywords

WebKit, Safari 17, StorageManager, IndexedDB, Cache API, Service Worker, QuotaExceededError, Intelligent Tracking Prevention

## Related posts

- [News from WWDC22: WebKit Features in Safari 16 Beta](https://swe.quest/articles/news-from-wwdc22-webkit-features-in-safari-16-beta-74211827dca49267.md): WebKit · 2022-06-06 · Easy · 7 min read · Browsers, CSS, Frontend, Accessibility, Developer tools
  Safari 16 beta adds Container Queries (size queries plus cqw/cqh/cqi/cqb/cqmin/cqmax units), CSS Subgrid, Web Push on macOS Ventura via the standard Push API, Notifications API and Service Worker backed by Apple Push Notification service, and Shared Workers.
- [WebKit Features in Safari 17.0](https://swe.quest/articles/webkit-features-in-safari-17-0-52bf316b5755d24e.md): WebKit · 2023-09-18 · Medium · 45 min read · Browsers, CSS, Accessibility, Frontend
  Safari 17.0 ships for iOS 17, iPadOS 17 and macOS with a broad set of web platform features, starting with the new HTML \<search\> element (Safari is the first browser to ship it), the popover attribute and API, and \<hr\> inside \<select\>.
- [WebKit Features in Safari 17.1](https://swe.quest/articles/webkit-features-in-safari-17-1-a08f621f175b022b.md): WebKit · 2023-10-25 · Easy · 5 min read · Browsers, Video & media, Frontend
  Safari 17.1 brings the Managed Media Source API to iPhone, a power-efficient alternative to Media Source Extensions for adaptive bitrate streaming.
- [The File System API with Origin Private File System](https://swe.quest/articles/the-file-system-api-with-origin-private-file-system-d365ac14632ecee7.md): WebKit · 2022-02-14 · Medium · 6 min read · Browsers, JavaScript, Frontend
  WebKit now supports the File System Standard's origin private file system, a per-origin sandboxed storage area where web apps can create, read, write, move, enumerate and delete files and directories.
- [News from WWDC23: WebKit Features in Safari 17 beta](https://swe.quest/articles/news-from-wwdc23-webkit-features-in-safari-17-beta-56e2385f10cea4f8.md): WebKit · 2023-06-06 · Medium · 26 min read · Browsers, Frontend, CSS, Video & media
  Safari 17 beta brings 88 web features. Mac users can add any website to the Dock as a web app: cookies are copied over and web push and badging are supported.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
