Browser internals·Advanced·Scenario based·1 min read
Why might Safari's storage behavior surprise developers testing cross-site scenarios?
Short interview answer
Some browsers apply storage partitioning or limit persistence for storage set in a third-party or cross-site context to reduce tracking, so data can be evicted sooner than on same-site usage.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.