openstreetmap / operations

OSMF Operations Working Group issue tracking
https://operations.osmfoundation.org/
98 stars 13 forks source link

Static iD assets caching #1049

Closed mmd-osm closed 3 months ago

mmd-osm commented 3 months ago

While testing brotli on faffy in iD editor, I've noticed that some of the iD asset files are being repeatedly downloaded. I've also tested the same on production with Chrome and Firefox. A bit of panning triggered the following requests:

image

My expectation would be that these files are served from the browser cache instead. Of course, there's also the question why iD keeps requesting these files in the first place...

tomhughes commented 3 months ago

I'm not sure what you expect us to do about this? Do you want us to drop by and fix your browser or something?

mmd-osm commented 3 months ago

Ah, you're right, I tried now with a third browser (Chromium), and caching is working as expected, so it's definitely browser related. I will keep an eye on it, since it is happening in Firefox even when safe mode is enabled. Closing here for the time being. Thanks!