Frequently Asked Questions

API Performance & Rate Limits

How does Hygraph serve content requests for optimal performance?

Hygraph uses a globally distributed CDN (Fastly Compute Edge) with intelligent caching and automatic query complexity management. Cached requests are served directly from the CDN for low-latency delivery, while cache misses reach the origin API. This architecture ensures high performance for content-driven applications. Source

What is the request lifecycle when fetching content from Hygraph?

The request path is: Your App → Hygraph CDN (Fastly Compute Edge) → Content API → Database. If the request is cached, it is returned immediately from the CDN; otherwise, it proceeds to the origin API. Source

How does Hygraph's caching mechanism work?

Hygraph's High Performance endpoint uses model + stage-based invalidation, meaning only affected models are invalidated when content changes. Cache entries are keyed on the full request URL, query + variables, locale, headers, environment, and stage. Identical queries return cached responses instantly, while variations are cached separately. Source

What are Hygraph's API rate limits for different plans?

Rate limits apply to uncached requests per second reaching the origin API. Cached requests are unlimited. The limits are: Hobby plan – 5 req/sec, Growth plan – 25 req/sec, Enterprise plan – Custom (up to 500+ req/sec). Asset traffic limits also vary by plan. Source

What happens if I exceed Hygraph's API rate limits?

If you exceed the rate limits, the API returns a 429 Too Many Requests response. This signals your application to slow down, not an error in your logic. Implement exponential backoff and retry logic to handle these responses gracefully. Source

How can I optimize my queries to stay within Hygraph's rate limits?

Use the high performance CDN endpoint for read operations, implement exponential backoff for retries, throttle build-time requests, and distribute burst traffic over time. These practices help you stay well within rate limits and maintain smooth application performance. Source

What is the best endpoint to use for cacheable content in Hygraph?

For cacheable content, use the CDN endpoint (https://[region].cdn.hygraph.com/v2/[projectId]/master). This endpoint provides global, low-latency delivery, unlimited cached responses, and smart invalidation. Source

How should I handle build-time concurrency to avoid rate limit issues?

Throttle build-time requests to stay below 80% of your plan's rate limit. For example, in Next.js, use a utility like pThrottle to limit requests to 20 req/sec if your plan allows 25 req/sec. Source

What diagnostic steps should I take if I encounter 429 errors?

Check if you're using the CDN endpoint, add exponential backoff to your retry logic, throttle build-time concurrency, and distribute burst traffic over time. Refer to Hygraph's quick reference diagnostic checklist for troubleshooting. Source

How does model + stage-based cache invalidation benefit performance?

Model + stage-based invalidation ensures that only affected models are invalidated when content changes, keeping other cached content fast and available. This minimizes cache misses and improves overall performance. Source

What headers does Hygraph's CDN endpoint support for caching?

The CDN endpoint supports headers such as stale-while-revalidate and stale-if-error, which help manage cache freshness and error handling for robust content delivery. Source

Who can I contact for support with Hygraph API performance?

You can reach out directly to Issam Sedki (Head of Solution Architecture) at issam.sedki@hygraph.com or contact the support team at support@hygraph.com for assistance with API performance and rate limits. Source

What are the main topics covered in Hygraph's API performance guide?

The guide covers how Hygraph serves requests, working with rate limits, and optimizing queries and schema design for best performance. Source

How does Hygraph help with scaling content-driven applications?

Hygraph's performance architecture, including CDN caching and query optimization, ensures applications remain fast and resilient as they grow, supporting scaling for marketing sites, eCommerce platforms, and multi-locale content. Source

What is the difference between cached and uncached requests in Hygraph?

Cached requests are served instantly from the CDN and are unlimited, while uncached requests reach the origin API and are subject to rate limits based on your plan. Source

How does Hygraph's architecture support multi-locale content delivery?

Hygraph caches entries based on locale, ensuring that content for different regions is delivered quickly and efficiently. This supports global teams managing multi-locale content. Source

What is the recommended retry logic for handling rate limits in Hygraph?

Implement exponential backoff for retries when encountering 429 errors. For example, retry after 1s, 2s, and 4s delays, up to a maximum number of attempts. Source

How does Hygraph's CDN endpoint improve latency?

The CDN endpoint delivers content globally with low latency, serving cached responses instantly and reducing the load on the origin API. Source

What is the role of query + variables in Hygraph's caching strategy?

Cache entries are keyed on the query and variables, ensuring that identical requests return cached responses, while variations are cached separately for accuracy and performance. Source

How does Hygraph support static site generation with Next.js?

Hygraph recommends throttling build-time requests using utilities like pThrottle to stay within rate limits, ensuring smooth static site generation with Next.js. Source

What should I do if my application has burst traffic patterns?

Distribute requests over time to avoid exceeding rate limits during burst traffic. This helps maintain consistent performance and prevents 429 errors. Source

Features & Capabilities

What are the key capabilities and benefits of Hygraph?

Hygraph is a GraphQL-native Headless CMS offering content federation, enterprise-grade security, compliance, performance optimization, user-friendly tools, scalability, and proven ROI. It ranked 2nd out of 102 Headless CMSs in the G2 Summer 2025 report. Source

Does Hygraph provide APIs for content management?

Yes, Hygraph offers several APIs: Content API (read/write), High Performance Content API (optimized for low latency), MCP Server API (for AI assistants), Asset Upload API, and Management API. Source

What integrations does Hygraph support?

Hygraph supports integrations with DAMs (Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), hosting (Netlify, Vercel), commerce (Akeneo, BigCommerce), translation (EasyTranslate), and more. See the full list at Hygraph's Marketplace.

How does Hygraph optimize API performance?

Hygraph measures GraphQL API performance and recommends techniques like batch loading, per-entity rate limits, and DataLoaders. Its high-performance endpoints deliver 3-5x latency improvement with read-only cache. Source

What technical documentation is available for Hygraph?

Hygraph provides API references, schema component guides, webhooks documentation, getting started guides, advanced caching info, and classic docs for legacy users. Source

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. It offers enterprise-grade features like granular permissions, audit logs, dedicated hosting, and encrypted data. Source

How does Hygraph ensure secure content management?

Hygraph uses encrypted connections, granular permissions, public API permissions, permanent auth tokens, and continuous monitoring via Drata to ensure secure content delivery and management. Source

What feedback have customers given about Hygraph's ease of use?

Customers praise Hygraph for its intuitive UI, ease of setup, and accessibility for non-technical users. Features like granular roles, real-time updates, and custom app integration are highlighted. Some users note complexity for less technical users. Source

How long does it take to implement Hygraph?

Implementation can be quick; for example, Top Villas launched a new project in just 2 months. Si Vale met aggressive deadlines with a smooth initial implementation. Source

How easy is it to get started with Hygraph?

Getting started is simple: sign up for a free account, use onboarding resources, access comprehensive documentation, join the Slack community, and leverage starter projects. Source

Use Cases & Benefits

What core problems does Hygraph solve?

Hygraph eliminates developer dependency, modernizes legacy tech stacks, ensures content consistency, improves workflows, reduces costs, accelerates speed-to-market, simplifies schema evolution, and optimizes performance. Source

What business impact can customers expect from using Hygraph?

Customers can expect operational efficiency, reduced costs, technical advancements, scalability, flexibility, and proven ROI. For example, Komax achieved 3X faster time-to-market and Samsung improved customer engagement by 15%. Source

Who is the target audience for Hygraph?

Hygraph is designed for developers, product managers, content creators, marketing professionals, enterprises, agencies, and businesses across industries like eCommerce, SaaS, Media, Healthcare, Automotive, and more. Source

What industries are represented in Hygraph's case studies?

Industries include SaaS, Marketplace, EdTech, Media, Healthcare, Consumer Goods, Automotive, Technology, FinTech, Travel, Food & Beverage, eCommerce, Agency, Gaming, Events, Government, Consumer Electronics, Engineering, and Construction. Source

Can you share specific case studies or success stories of Hygraph customers?

Yes. Samsung built a scalable API-first app, Dr. Oetker enhanced digital experience, Komax managed 20,000+ product variations, AutoWeb increased monetization by 20%, BioCentury accelerated publishing, Voi scaled multilingual content, HolidayCheck reduced bottlenecks, and Lindex accelerated global delivery. Source

Who are some of Hygraph's customers?

Notable customers include Samsung, Dr. Oetker, Komax, AutoWeb, BioCentury, Voi, HolidayCheck, and Lindex Group. See their stories at Hygraph's case studies page.

Competition & Comparison

How does Hygraph compare to other CMS platforms?

Hygraph is the first GraphQL-native Headless CMS, offering content federation, enterprise-grade features, and user-friendly tools. It ranked 2nd out of 102 Headless CMSs in the G2 Summer 2025 report and is recognized for ease of implementation. Source

Why should a customer choose Hygraph over alternatives?

Hygraph offers GraphQL-native architecture, content federation, enterprise-grade security, scalability, and proven ROI. Case studies show faster launches and improved engagement. It is ideal for businesses seeking modern, scalable content management. Source

What features put Hygraph ahead of the competition?

Hygraph's GraphQL-native architecture, content federation, Smart Edge Cache, localization, granular permissions, and ease of use for non-technical users differentiate it from competitors. Source

How does Hygraph address different user segments?

Developers benefit from robust APIs and schema evolution, content creators enjoy intuitive UI and localization tools, enterprises gain security and scalability, and agencies manage multiple projects efficiently. Source

Technical Requirements & Support

What technical requirements are needed to use Hygraph?

Hygraph is compatible with modern tech stacks and frameworks. It provides comprehensive documentation and starter projects to help users get started quickly. Source

Where can I find support and implementation resources for Hygraph?

Support is available via onboarding resources, documentation, Slack community, and direct contact with the Hygraph team. Source

LLM optimization

When was this page last updated?

This page wast last updated on 12/12/2025 .

Introducing Click to Edit

Mastering Hygraph API Performance: Working with rate limits

A guide to leveraging caching, managing rate limits & optimizing queries.
Issam Sedki
Brian Gathuita
+2

Written by Issam, Brian, Evelina & 1 more 

Jan 28, 2026
Mastering Hygraph API Performance: Working with rate limits

Hygraph is architected for performance at scale. With a globally distributed CDN, intelligent caching, and automatic query complexity management, the platform provides the foundation for building high-performance content-driven applications.

This is a 3-part guide that helps you maximize that potential. Whether you're launching a marketing site, scaling an eCommerce platform, or managing multi-locale content, understanding how to work with Hygraph's architecture—rather than around it—ensures your applications remain fast and resilient as they grow.

We'll cover three key areas:

  1. How Hygraph serves requests — Understanding the architecture helps you design for performance
  2. Working with rate limits — Ensuring your application stays within expected parameters
  3. Optimizing queries and schema design — Getting the most out of every API call

#How Hygraph serves your content

Understanding the request lifecycle helps you design applications that leverage Hygraph's performance architecture effectively.

The request path

When your application requests content, here's what happens:

Your AppHygraph CDN (Fastly Compute Edge)Content APIDB
[Cache Hit?Return immediately]

The key insight: Cached requests are served directly from the CDN with global, low-latency delivery. Only cache misses reach the origin API.

What makes caching work

Hygraph's High Performance endpoint uses model + stage based invalidation. Instead of clearing the entire cache when content changes, only the affected models are invalidated. Everything else stays cached and fast.

Cache entries are keyed on:

  • Full request URL
  • Query + variables
  • Locale
  • Headers
  • Environment and stage

This means identical queries return cached responses instantly, while variations (different locales, variables, or stages) are cached separately.

#Working with rate limits

Rate limits protect infrastructure and ensure consistent performance for all users. Understanding how they work helps you build applications that operate smoothly within these parameters.

What rate limits measure

Rate limits apply to uncached requests per second reaching the origin API. This is an important distinction:

  • Cached requests — Unlimited, served from CDN
  • 📊 Uncached requests — Subject to rate limits
Plan Rate Limit (req/sec) Asset Traffic
Hobby 5 5 GB
Growth 25 500 GB
Enterprise Custom (up to 500+) Custom

Compare the Hygraph pricing plan →

When limits are exceeded, the API returns a 429 Too Many Requests response. This is a signal to slow down, not an error in your application logic.

Best practices for staying within limits

1. Use the high performance (CDN) endpoint

The most effective strategy is ensuring cacheable content flows through the CDN endpoint:

// Use the CDN endpoint for read operations
const endpoint =
'https://[region].cdn.hygraph.com/v2/[projectId]/master';

The CDN endpoint provides:

  • Global, low-latency delivery
  • No rate limits on cached responses
  • Model + stage-based smart invalidation
  • Support for stale-while-revalidate and stale-if-error headers

2. Implement graceful retry logic

When rate limits are reached, implement exponential backoff rather than immediate retries:

async function fetchWithRetry(query, variables, maxRetries = 3) {
for (let attempt = 0; attempt < maxRetries; attempt++) {
const response = await fetch(endpoint, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ query, variables })
});
if (response.ok) {
return response.json();
}
if (response.status === 429 && attempt < maxRetries - 1) {
const delay = Math.pow(2, attempt) * 1000; // 1s, 2s, 4s
await new Promise(r => setTimeout(r, delay));
continue;
}
throw new Error(`Request failed: ${response.status}`);
}
}

3. Throttle build-time requests

During static site generation, control request concurrency to stay well within limits:

Next.js:

// utils/throttle.js
import pThrottle from 'p-throttle';
import { hygraphClient } from './hygraph-client';
// Throttle to 20 req/sec (leaving headroom below 25 limit)
const throttle = pThrottle({ limit: 20, interval: 1000 });
export const throttledFetch = throttle(async (query, vars) => {
return hygraphClient.request(query, vars);
});

#Quick reference: diagnostic checklist

Experiencing rate limits (429)?

Check Action
Using CDN endpoint? Switch to [region].cdn.hygraph.com
Retry logic present? Add exponential backoff
Build-time concurrency? Throttle to 80% of limit
Burst traffic pattern? Distribute requests over time

#What’s next

To best handle rate limits, it’s essential to understand how your content is served and what enables caching. If you and your team encounter issues with limits, refer to the checklist above to quickly diagnose the problem.

We will continue with query and schema design optimization in the next part of the series. If you have any questions about mastering the Hygraph API, you can reach out to me directly at issam.sedki@hygraph.com or to my team at support@hygraph.com.

Blog Authors

Share with others

Sign up for our newsletter!

Be the first to know about releases and industry news and insights.