How can I detect and handle stale cache responses in an Express application using Cache-Control validation?
When building an Express API, I need to ensure that clients can detect when a cached representation has become stale and trigger revalidation without downloading the full payload. The goal is to configure responses with appropriate Cache-Control directives so that shared caches mark entries as stale after a defined period, yet still allow the client to send