Package io.ktor.client.plugins.cache

Types

Link copied to clipboard
class HttpCache

A plugin that allows you to save previously fetched resources in an in-memory cache. For example, if you make two consequent requests to a resource with the configured Cache-Control header, the client executes only the first request and skips the second one since data is already saved in a cache.

Link copied to clipboard
class HttpCacheEntry

Client single response cache with expires and varyKeys.

Link copied to clipboard
class InvalidCacheStateException(requestUrl: Url) : IllegalStateException