NICE AND ALL BUT..
When you use a third-party API, like fetching the weather forecast from `https://api.weather.com/$city` every call travels across the internet to the API's server, retrieves the data, and then
travels all the way back. This journey, although fast in internet terms, adds up,
introducing latency and costs with each call.
By strategically caching data close to your
servers you can dramatically reduce both the latency impact on your end users and the incurred
cost by continuously hitting the upstream API.
By swapping your API's URL from `api.weather.com/$city` to `api.cachething.com/$city` a proxy is automatically created for your requests to the original API. The first time around, it fetches the forecast just like before. But then a copy of this data is gradually put closer to your origin servers so to be quicker on subsequent requests.
The next time you requests the same url path, cachething checks its edge copy first. If there's a match (and the data is still fresh), it serves you this local copy instantaneously, reducing the wait time and latency significantly.
By serving a cached copy, you also save on the costs of calling the upstream API. This is especially useful when you have a high volume of requests or when the upstream API charges per call.
FEATURES
Need fresh data every 30 seconds? Just add `x-cache-ttl: 30s` in your request headers. Every 42 days?? Then `x-cache-ttl: 42d` it is. Everything is configurable via http headers 🎉
Cachething gives you granular control over your cache. Need to clear the cached data for a fresh start? Hit `DELETE /$path`. While for a completely clean slate, you can just `DELETE /__purge`
Optimal caching is hard. We help you remove the guesswork out of the equation. We move the data closer to your servers without you even noticing.
Only 2xx responses are cached. This is reducing the risk of serving stale or incorrect data. If the API you are calling is down, we will not cache the response and serve the cached data, improving availability for your application.
YEAH BUT.. IS IT FAST?
With over 300 edge locations at your service, we ensures your data is replicated where it matters most, bringing it closer to your users worldwide. This network of edges acts like a global web, catching and storing your data at strategic points, so every API call feels like it's coming from next door, not across the globe.
Secure lifetime access. This $30 USD lifetime offer is valid only until 28 Feb
Join our community with a one-time payment and enjoy unlimited access forever. You are not satisfied? We offer a 14-day money-back guarantee from the date of purchase 🤑
Do you have questions or need help with a specific use case? Let's talk!
Get in touch