The podcast discusses the evolution and challenges of cross-origin resource sharing on the web, focusing on a proposed new API called Cross-Origin Storage. This API aims to restore efficient caching of large, shared resources - such as web fonts, AI models, and libraries - across different websites while addressing past security and privacy concerns. These concerns previously led browsers to disable cross-origin caching due to risks like timing attacks, which could expose user behavior by detecting cached files. The discussion highlights how modern web needs, especially with the rise of multi-gigabyte AI models, have renewed the demand for shared caching to reduce redundant downloads and improve performance.
The proposed Cross-Origin Storage API uses content hashes (e.g., SHA-256) to securely identify and share resources across origins, allowing browsers to verify integrity and avoid tampering. It supports both imperative and declarative integrations for scripts, stylesheets, fonts, and AI models, functioning as a progressive enhancement that doesn't break existing functionality. Use cases include global sharing (e.g., Google Fonts) and origin-specific sharing (e.g., CodePen subdomains). The API is being developed with privacy safeguards, such as tying access to third-party cookie permissions, and is under consideration for standardization across browsers. However, challenges remain around potential misuse for tracking, browser fragmentation, and balancing performance gains with privacy protection.