Hi there, the Rest service does not send any cache-control headers, but does include an etag header in the response. My understanding is that the RestDataSource should add an If-None-Match with the cached etag on get requests, but it is not doing so. What am I missing?
I think your expectation is correct. Can you create a minimal reproduction or a test case which demonstrates the issue?
We have a few etag
tests in the HTTPCache
tests.
If you do put together a reproduction, please open an issue in the datasource-rest
repo and link back to this thread so I don’t miss it. Thanks!