where is the storage location of the browser's HTTP cache? disk or memory
I just want to know why some files come from disk cache and others from the memory cache, what's the mechanism behind of the HTTP cache? which cache has a higher priority?
It seems that scripts and stylesheets are stored in the disk, while images and fonts are stored in the memory.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching
https://developers.google.com/web/fundamentals/performance/get-started/httpcaching-6