Closed shawn-mcginty closed 4 years ago
Add cache response headers
ETag
GET
Date
Last-Modified
Cache-Control: public, max-age=0
Support conditional requests https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditional_requests (except for If-Range)
If-Range
Decided against conditional request implementation. This can be done via middle-ware.
Add cache response headers
ETag
header to allGET
responses (make this configurable)Date
header to allGET
responses (make this configurable)Last-Modified
header to static responses (make this configurable)Cache-Control: public, max-age=0
to static responses (make this configurable)Support conditional requests https://developer.mozilla.org/en-US/docs/Web/HTTP/Conditional_requests (except for
If-Range
)