GraphQL Edge Caching
Never resolve the same GraphQL query twice
Cache your GraphQL queries at the edge to speed up performance, reduce cloud costs, and prevent downtime by offloading all your repetitive traffic.
Eliminate downtime. Maximize performance. Protect users.
Stellate’s GraphQL Edge Caching sits in front of your existing infrastructure and supports all GraphQL APIs.
It can handle POST requests, cache private data per authenticated user, and proxy through to your server of choice.
20.5%
Less API traffic
The requests our origin has to handle dropped by more than 50% — we don't even notice traffic spikes anymore!
Ivan Vanderbyl
CPO & Co-Founder, Airheart
Lengthy loading is so 2020
Activate Stellate’s GraphQL Edge Caching in the example below and fetch data (almost) instantly.
Set up in minutes
Enter your own API endpoint, have it up and running in 5min.
Automatically split GraphQL queries to maximize caching
Cache data that was previously uncacheable and only the data you want, ensuring accuracy and freshness for dynamic content.
Boost performance, reduce downtime
Global p95 response time
50ms
There is no excuse for slow performance.
Server load reduction
90%+
You build your product, we handle your traffic.
Stellate uptime
100%
We’re up all night so you stay lucky.
30.6%
Faster p50 API response time
For 80% of our queries, performance went up significantly: Our GraphQL API’s overall p95 response time has decreased by over 10 seconds!
Matt MacGillivray
Founder, InnerSpace
Cache it like it's hot
- {posts { # Post: maxAge 900s swr 900snodes {idtitleslugstatus # Post.status: swr 180sauthor {node { User: scope AUTHENTICATEDidname}}}}}
Fine-grained cache control
Create custom rules to determine which GraphQL query results to cache for how long based on types and fields.
For example: Cache
posts
results for 900s and itsstatus
for 180s.Automatic mutation invalidation
Invalidate any changed data sent to your GraphQL API automatically.
For example:
editPost(id:5)
will invalidate all cached query results containing the post with id5
.Instant global cache purging
Purge specific data globally in about ~150ms.
For example: Purge the post with id
5
and any cached query results containing it.
Continuously optimize with advanced caching metrics
Understand your global latency
Most GraphQL APIs sit in one data center. Monitor your global latency and verify the performance boost your users get through edge caching.
Get cache hit rate insights
Understand how the attributes of your various data types affect the cache hit rate of individual queries.
Monitor how your Cache Hit Rate changes
Understand your caching strategy by observing Cache Hit Rate over time. Analyze trends, identify patterns, and adapt your cache rules to boost your API caching performance.
Optimize your cache rules performance
Evaluate cache rules performance. Optimize your caching strategy by understanding how requests and operations are affected by your cache rules.
Check your purging analytics
Whether auto invalidated from mutations or manually invalidated from the API, Metrics show when and what is being purged from the cache.
Become a pro in cache debugging
Track every request and its cache state. Monitor your cache hit rate and understand why certain requests are being cached and others are not.
One-Click Cache Purging
Stay in control of content changes even if you can't rely on webhooks. Instantly purge the entire cache or use Purge actions to remove cache items based on specific operations or types from our metrics dashboard.
What are you waiting for?
Set up Stellate in less than 5 minutes to unlock the full potential of your GraphQL API.