Don't influence Cache-Control through auto-purge
Open
CRUD
Engine
Improvement
Performance
Querying
- Dominant language
- TypeScript
- Stars
- 37.9k
- Forks
- 4.9k
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 36
Description
Currently, the auto purge env var effectively disables all cdn / browser caching:
https://github.com/directus/directus/blob/90476ccf175f440533e899c2fac37786716b0cfb/api/src/utils/get-cache-headers.ts#L28
We should remove this check in favor of having the cache control headers exclusively controlled through the cache control env vars.
Contributor guide
Assessment
This issue has not been assessed yet.