Feel like I’m missing something obvious here.
I have static image assets, and am building for ios. Running in the simulator, as I browse through the app and watch the attached safari timeline section I see the app making requests for images it has already fetched with the “Cached” column set to “No”.
One thing to note, I have some files packaged and some files in the app public folder. Both have the same behavior.
I may be using XMLHttpRequest incorrectly, but if I curl the images from localhost I see the cache-control headers set, but if I request in safari via
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", '/images/foodnews.svg', false );
xmlHttp.send();
console.log( xmlHttp.getAllResponseHeaders() );
// "Content-Type: image/svg+xml"
Any tips on how to determine the cause of this? Is it expected behavior?