GraphQL Edge Caching

Never down, always fast. Superpower your GraphQL API and protect your business.

V
I
S
I
T
O
R
S
MAX LOAD
16:00
20:00
24:00
04:00
08:00
12:00
16:00
20:00
24:00
04:00
Without Stellate
GraphQL
Client
GraphQL
Backend

Protect your users from downtime. Skyrocket performance and be relaxed about it.

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

Airheart logo
Compare Performances

Lengthy loading is so 2020

Render your loading invisible. Activate Stellate’s GraphQL Edge Caching in the example below and fetch data (almost) instantly.

Stellate

Set up in minutes

Enter your own API endpoint, have it up and running in 5min.

Stellate has the best, your API can too.

It’s the product the team wished for while creating the leading GraphQL open source projects.

Performance Features

Cache it like it's hot

  • {
    posts { # Post: maxAge 900s swr 900s
    nodes {
    id
    title
    slug
    status # Post.status: swr 180s
    author {
    node { User: scope AUTHENTICATED
    id
    name
    }
    }
    }
    }
    }
  • 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 its status 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 id 5.

  • 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.

Combine with metrics

Works great with Stellate GraphQL 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.

    Map showing P95 latencies for North America (512ms), South America (1208ms), Europe (159ms) and Africa (747ms)
  • Get cache hit rate insights

    Understand how the attributes of your various data types affect the cache hit rate of individual queries.

    A card where we see Different types of our application with their corresponding cache hit rate on the left side, on the right side there are different unused types and when they were last seen
  • 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.

    A card where we see the Cache Hit Rate chart over a period of time
  • 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.

    Two cache rules showing the details and the affected types
  • 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.

    A statistic showing that a mutation named updateOrder resulted in an expected latency increase of 1537ms because it invalidated a set of types and queries
  • 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.

    A query named getCategories resulted in a cache-pass because the request body was too big, we can also derive that we retried the request three times, it it failed twice due to a Bad Gateway error and ended up in a success.
  • 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.

    A query named caseStudyCollection is displayed accompanied by a P99 latency of 103ms alongside a Purge button that allows you to purge the cache for this query

What are you waiting for?

It takes less than 5 minutes to set up a fully functional CDN for your GraphQL API.