sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.87k stars 136 forks source link

Cache-Control is set to max-age:0 for JSON files #520

Open ericboucher opened 8 months ago

ericboucher commented 8 months ago

The lucid caching behavior does not seem to get applied to our project. We are building a map application for the United Nations and the default cache-control strategy seems off. As a result, the app keeps reloading large JSON boundary files.

Has anyone encountered this issue before?

public, max-age=0, must-revalidate

Screenshot 2024-01-11 at 6 57 12 PM

Here is the link to the website - https://prism-master-cambodia.surge.sh/ And the code - https://github.com/WFP-VAM/prism-app

Thanks a ton!