You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTTP cache is a bit weird because it's a lot of effort to try caching POST requests. It has never made it to KMP because it's a patched version of OkHttp that is JVM-only.
In 2025, feels like persisted queries are a much more natural fit for HTTP caching. Not only that means it can reuse the OkHttp/Ktor caches but also it makes sure the HTTP semantics are observed accross the full stack. One can for an example cache their GraphQL response in CDN edges, etc...
This issue is a reminder for us to look into this and for the community to give feedback about whether their usage of POST requests caching.
The text was updated successfully, but these errors were encountered:
Description
The HTTP cache is a bit weird because it's a lot of effort to try caching POST requests. It has never made it to KMP because it's a patched version of OkHttp that is JVM-only.
In 2025, feels like persisted queries are a much more natural fit for HTTP caching. Not only that means it can reuse the OkHttp/Ktor caches but also it makes sure the HTTP semantics are observed accross the full stack. One can for an example cache their GraphQL response in CDN edges, etc...
This issue is a reminder for us to look into this and for the community to give feedback about whether their usage of POST requests caching.
The text was updated successfully, but these errors were encountered: