Using this page as an example, https://www.figma.com/file/z1Q0Jea05gibeGQyasrJd6/TEST?node-id=0%3A1 This page fetches two .wasm files from network. When I press the reload button rightmost of the address bar, the caching for these two files differ. In my testing, one of them always caches, on disk. But the other one never caches. All js resources would cache. My iPhone 7 has the same behavior -- I saw the same pattern when I'm inspecting from the 'Develop' menu in my Desktop Safari when connected to my phone. Occasionally, from a fresh tab, when I reload using the reload icon, both files are fetching from memory for the first time, but subsequent refreshes would miss again. This behavior sounds extremely similar to another user's observation: https://developer.apple.com/forums/thread/125224, search for "Should I log a bug for this". For both Desktop and iPhone, when I click and enter from the address bar directly, however, the two .wasm files would be cached. When I open the file in private browsing on desktop, I noticed that these two .wasm files never cache when I reload with the reload icon. It is surprising to me that in the non-private browsing case, the browser caches the .wasm files differently, when they are served with the exact same cache control headers from the same server. Moreover, the js resources would always cache. Are js files treated differently from the .wasm file type? I'm on Safari Version 15.2, macOS Monterey 12.1. The iPhone I mentioned is an iPhone 7, Safari Version 15.3 (inferred from the user agent string).
<rdar://problem/91923397>
Can you upload these two different wasm files?
(In reply to Yusuke Suzuki from comment #2) > Can you upload these two different wasm files? Ah, I misunderstood. I think this is rather networking related thing.