How can I serve static files (images) with Cache-Control header in Glitch? When I upload a png file in my public folder, it automatically moves it to assets.
The best way to do that is to put your images in your static asset folder, and serve those, as all of those will be backed by CDN and served as close to the user as possible, without ever needing to ask your server for them.
So instead of linking to some relative image, you just copy the asset URL and drop that in the src attribute.