feat(typedserver): add noCache option to disable client-side caching and set no-cache headers on responses

This commit is contained in:
2026-01-23 22:42:04 +00:00
parent 4cc1efb7cc
commit c753206456
3 changed files with 22 additions and 2 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2026-01-23 - 8.3.0 - feat(typedserver)
add noCache option to disable client-side caching and set no-cache headers on responses
- Introduces an optional noCache?: boolean in the server options interface
- applyResponseHeaders now sets Cache-Control, Pragma, and Expires headers when noCache is true
- Existing CORS and security header behavior unchanged when noCache is not set or false
## 2026-01-23 - 8.2.0 - feat(typedserver)
serve bundled in-memory content with caching and reload injection