demo · v132
Budget economics for saved vs unsaved queries
Two per-page budgets gate selectURL(): a 6-bit entropy budget and a per-page count. v132's saved queries charge once and replay free. Simulate how many selectURL() calls fit in a page under each strategy.
without saved queries (legacy)
total selectURL calls—
entropy charged—
count charged—
entropy budget (12 bits/site/24h):
page count (8 calls/page):
with saved queries (v132)
total selectURL calls—
entropy charged—
count charged—
entropy budget:
page count:
// the call pattern
await sharedStorage.selectURL("my-vertical-ad-mapping", {
data: { vertical: "checkout" },
urls,
savedQuery: "my-vertical-ad-mapping" // <-- v132
});
see also
- Saved queries — feature index
- Saved Queries demo
- budget rescue
- ChromeStatus entry