Is there a way to force ktor to read from cache an...
# ktor
d
Is there a way to force ktor to read from cache and fail if the request is not cached? In OkHttp I can set cache control to
CacheControl.FORCE_CACHE
to achieve this behavior.
a
Do you mean with the
HttpCache
plugin?
d
Sure? If it helps me get the results I want.
a
Unfortunately, there is no way to force the plugin to read from cache or fail if it's not there.