- ID
- 2474adc2-8408-4656-a6b7-0d446c6f2a1b
BE-6858 Add caching to /api/v2/dietary_retrictions/
- source :: https://hungryroot.atlassian.net/browse/BE-6858
- tags :: Hungryroot API Project
- epic :: EP-411 Eng Parking Lot
- sprint :: HR BE Sprint 101 HR BE Sprint 102
- status :: Status - Complete
Tasks
DONE Test caching on staging
- ID
- 3e695c18-759e-1943-0b06-e141f12e30e8
DONE Test on Staging
- ID
- 19a10d92-ee30-9e35-05e6-90c051cf17cc
Description
https://hungryroot.slack.com/archives/C02N30ZNRSQ/p1765990821774769
Add @cache_page to api/v2/dietary_restrictions/
And we could add to the public cache middleware if we want for CDN caching
This endpoint is serving static data, so it’s OK to cache it for longer
DT had opened a PR for cache_page for reference - https://github.com/hungryroot/hungryroot/pull/12853