Data API not obeying cache control headers with Edge CDN
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When using the Enterprise Edge CDN, it is not obeying the cache control headers for the Data API. We should be able to set these headers in the config.
We have a simple CRUD app which we update data, and it's unacceptable to wait 5+ minutes or purge the cache every time to see these updates.
**To Reproduce**
1. Set the `Cache-Control` headers in the staticwebapp.config.json file.
2. Turn on enterprise edge
3. Turn on data API
4. Go to website, and notice results are getting cached.
**Expected behavior**
The `Cache-Control` headers should be obeyed by Data API when using Enterprise Edge.
**Screenshots**


Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.