codefornola / nola-transit-map

Realtime view of all NOLA public transit vehicles https://nolatransit.fly.dev/
MIT License
20 stars 6 forks source link

Cache busting strategy #5

Open bhelx opened 2 years ago

bhelx commented 2 years ago

I currently need to bust the cache by adding some get params on the static assets before deploying, e.g.: https://github.com/codefornola/nola-transit-map/commit/118e42bd4e3341184948d91bcfaed01cfae3da08

this is pretty annoying. A solution would be to have esbuild somehow take care of this. Or change some config in fly.io so it doesn't so aggressively cache assets.