📢 Update: URLSession HTTP Client Cache Behavior Change #2062
dayaffe
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We’ve updated the default behavior of the URLSession-based HTTP client used by aws-sdk-swift.
Previously, the client relied on URLRequest’s default caching behavior. Starting with this update, all requests now use:
This ensures that SDK calls always fetch fresh data and do not rely on any local cache entries.
If your application relies on cached responses, you will need to implement a caching mechanism. This change will make our behavior consistent across all of our HTTP clients and remove unexpected behavior when making calls to AWS services.
Beta Was this translation helpful? Give feedback.
All reactions