> ## Content Index
> Fetch the complete content index at: https://apisyouwonthate.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Caching, up-front
- URL: https://apisyouwonthate.com/newsletter/design-for-caching-up-front/
- Published: 2025-07-01T12:45:17.000Z
- Updated: 2025-07-01T12:45:17.000Z
- Description: Teams that plan for data access and caching from the start build faster, more reliable APIs than those who bolt it on in a panic later.
- Author: Alexander Karan
- Tags: 📰 APIs You Won't Hate (The newsletter)

Caching is essential in REST APIs, and for many, it is often an afterthought. Including caching in the design process requires your team to think more carefully about your models, and how to structure the resource layer. Ask me how I know... I've spend the last week attempting to speed up a data-intensive analytics portal. 

*Pre-fetching* data is far more performant and provides a better end-user experience in a web application, especially if the underlying API utilises caching most efficiently. If you need a little refresher, check out this great [article from Speakeasy](https://www.speakeasy.com/api-design/caching?ref=apisyouwonthate.com) and, of course, our article [Design Basics: Cacheability](https://apisyouwonthate.com/blog/api-design-basics-cacheability/).

\-- Alexander

![](https://storage.ghost.io/c/b4/3e/b43eb8f8-cafd-49ee-ab1f-e4fe989d2890/content/images/2025/04/State-of-API-DevEx-Report.png) 

## Help shape the future of APIs

If you build, manage, or use APIs, your insights can help highlight key trends and challenges in the ecosystem.  
  
Take the 10 minute survey, and you'll get early access to the report — plus a chance to win a PS5, NuPhy mechanical keyboard, and more!

[Take the Survey](https://www.speakeasy.com/state-of-api-devex/2025?utm%5Fsource=newsletter&utm%5Fmedium=email&utm%5Fcampaign=apisyouwonthate) 

## The API Roundup

*API News, links, and tools from around the web*

### [OpenAPI Fundamentals](https://training.linuxfoundation.org/express-learning/openapi-fundamentals-lfel1011/?utm%5Fcampaign=Promote%20OpenAPI%20Foundations%20Course%202024&utm%5Fsource=home-page&utm%5Fmedium=top-banner&utm%5Fcontent=2024-banner)

The Linux Foundation offers some fantastic courses; however, I missed that they have a free 90-minute course to Learn the basics of the OpenAPI Specification. You'll explore how to write, use, and extend OpenAPI documents to streamline API development and integration. Worth checking out if you're new to OpenAPI.

### [GraphQLConf 2025](https://graphql.org/conf/2025/schedule/?ref=apisyouwonthate.com)

GraphQL Conf has dropped the schedule for their conference in Amsterdam in September. The lineup is quite interesting, featuring GraphQL at Meta, GraphQL performance issues at Netflix, and addressing GraphQL's biggest mistakes, such as not being REST 😉.

### [Hono Comes to NodeJS](https://www.youtube.com/watch?v=4ks1RvEM99Y&ref=apisyouwonthate.com)

Hone creator Yusuke Wada talks us through using only Web Standards to build the web framework Hono and running it on Cloudflare Workers, Deno, and Bun. Yusuke details the challenges of bringing Hono to Node and how they were overcome. I love Hono and am super excited to see it come to Node.

### [Ktor 3.2.0 Is Now Available](https://blog.jetbrains.com/kotlin/2025/06/ktor-3-2-0-is-now-available/?ref=apisyouwonthate.com)

If you haven't heard of Ktor before, it's a modern web framework in Kotlin that focuses on asynchronous programming features and intuitive, imperative flow. Honestly, I am not doing it justice. You should be checking it out. They recently dropped a new release with support for [HTMX](https://htmx.org/?ref=apisyouwonthate.com). 

### [JSON evolution in Go](https://antonz.org/go-json-v2/?ref=apisyouwonthate.com)

Go's `encoding/json v2` introduces a more robust and flexible API for JSON handling. It offers enhanced performance, streaming-friendly functions like `MarshalWrite`, `UnmarshalRead` and customisable options for formatting and field behaviour, enabling developers to create more efficient and maintainable web APIs.

---

## APIs You Won't Hate

The latest from the team at API's You Won't Hate.

### [All about Mocking, with Wiremock's Tom Akehurst](https://apisyouwonthate.com/podcast/all-about-mocking-with-wiremocks-tom-akehurst)

Mocking is one of those things that started out as a simple idea, and has evolved to support an incredible amount of developer use cases over the years. In this episode of the Podcast, Tom from Wiremock chats with Phil about *what* mocking is, strategies for not littering OpenAPI doc with mocking details, and ways to keep api dev teams empowered by mocking, instead of hampered by it.

---

## From our Community

Articles written and shared in our free [Slack community](https://slack.apisyouwonthate.com/?ref=apisyouwonthate.com).

### [MCP Week Roundup](https://zuplo.com/blog/2025/06/16/mcp-week-roundup?ref=apisyouwonthate.com)

Adrian Machado shares the highlights from MCP week at Zuplo. Covering some interesting topics from how MCP won't be an API killer, how to build MCP servers with Zuplo and how AI Agents are going to be using your APIs. Worth checking out, thanks for sharing, Adrian.

## Support APIs You Won't Hate

When you become an member, you'll get access to members-only content while directly supporting our work. Your support helps us to keep making resources for the API community.

[Become a member today](https://apisyouwonthate.com/#/portal) 

Thanks so much to our members: **Kin L, Juxt, Alex R, Nolan S, Frank, James D, Rich, Ryan T, and Umair**. Your support means the world to us!

✌️ Until next time,  
Alexander, Phil & Mike