Nope. Browsers partition storage in order to prevent trackers from identifying users across sites. The top level browsing context’s origin is used as the partition key. In this case the web page’s cache and the extension’s cache would be separated into different partitions based on their origins. See this MDN article on State Partitioning for more info.