Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support force cache even when server doesn't set the Date header
This fixes a bug where when a upstream server doesn't set a Date header the response will be cached but then once the cache is expired it never gets refreshed because parseResponseHeaders returns a no date header error This also makes it so that the force_cache_duration_seconds is respected when an upstream returns a 304 not modified Signed-off-by: Peter <[email protected]>
- Loading branch information