Cache & batch your API requests

1 min read Original article ↗

So, how would I use this?

Sounds cool and all, but how would you use Cache Horse for yourself, in your own app?

Simplify your frontend code

Sometimes, many asynchronous requests are fired from a React/Vue/Nextjs/etc application, requiring you to write code to put it all together. Why not bundle them all together instead?

Caching for your own API data

You can use us as a cache for your own API, in a similar way that Cloudflare is used to cache your pages and content. No more database queries on every request!

Save on expensive 3rd party APIs

If you only need an approximate value for a currency exchange rate, weather data or pollution info, loading this data for every visitor can add up. Cache it instead!