sematic
sematic copied to clipboard
Recover cache headers for stored items
PR #623 attempted to add cache headers to the following endpoints:
-
GET /api/v1/storage/<namespace>/<key>/data
which redirects to the actual stored payload location (storage plug-in-dependent) - S3 pre-signed URLs
-
GET /api/v1/storage/<namespace>/<key>/local
which isLocalStorage
's payload download's endpoint (redirected to from/data
)
The first two ones are risky as they make the assumption that both responses are cached at the same time, and will expire at the same time. PR #652 removes these headers until further analysis (this issue).