Cache-Control is set to max-age:0 for JSON files
ericboucher opened this issue · comments
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](https://private-user-images.githubusercontent.com/16843267/296008284-8d630213-ebf9-4aa9-a51c-8829297155f8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNTcxODIsIm5iZiI6MTcyNDI1Njg4MiwicGF0aCI6Ii8xNjg0MzI2Ny8yOTYwMDgyODQtOGQ2MzAyMTMtZWJmOS00YWE5LWE1MWMtODgyOTI5NzE1NWY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIxVDE2MTQ0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQyNDRkYmQ0ZWZkZDFiZTZjNWE4N2Q3MTFhOWRkN2IyOWQ2MmRjOGMxNzMzMjU0OWI2MjNlZWQ1Y2RmNmNhMTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Zun3CnxIL34U93Nfw8cmgRa_x6_VFxPEhZy8oYHeBMQ)
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!