Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP cache future #6302

Open
martinbonnin opened this issue Dec 4, 2024 · 0 comments
Open

HTTP cache future #6302

martinbonnin opened this issue Dec 4, 2024 · 0 comments

Comments

@martinbonnin
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant