Are you an LLM? You can read better optimized documentation at /openapi-ts/plugins/swr.md for this page in Markdown format
SWR soon
Excited about SWR?
Help us prioritize this feature by voting on GitHub or consider becoming a contributor.
About
SWR is a strategy to first return the data from cache (stale), then send the fetch request (revalidate), and finally come with the up-to-date data.
Sponsors
Hey API is sponsor-funded. If your team relies on Hey API in production, consider becoming a sponsor to accelerate the roadmap.
Gold

Best-in-class developer interfaces for your API.
stainless.comThe open source coding agent.
opencode.ai
