You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add cache-control headers to the DAP code response #149
HTTP is designed to cache as much as possible, so even if no Cache-Control is given, responses will get stored and reused if certain conditions are met. This is called heuristic caching.
Heuristic caching is a workaround that came before Cache-Control support became widely adopted, and basically all responses should explicitly specify a Cache-Control header.
The DAP code is mutable content so it should probably have a no-cache header or possibly a short max-age.
Activity
sanason commentedon Dec 9, 2024
Thanks to @pauldoomgov for pointing this out!