Frequently Asked Questions

API Performance & Optimization

How can I optimize Hygraph API queries for better performance?

To optimize Hygraph API queries, match your first parameter to actual needs to avoid over-fetching, select only the fields your UI requires, implement cursor-based pagination for collections, and use a two-step approach for union queries. For example, fetch block types and IDs first, then batch-fetch blocks by type. These strategies are detailed in the Hygraph API performance guide (source). Note: Deeply nested queries or large unions can increase complexity and slow performance; consider query splitting or curated unions for these cases.

What schema design principles improve Hygraph API performance?

Performance-oriented schema design in Hygraph includes separating editorial and delivery concerns (e.g., using distinct models for LandingPage, ArticlePage, ProductPage), preferring flat structures for high-traffic paths, limiting reference depth to reduce query complexity, and standardizing asset usage with wrapper components like ImageBlock. These practices help ensure responsive applications and efficient caching. Note: Overly complex or deeply nested schemas can negatively impact query speed and cache efficiency.

What are common causes of slow queries in Hygraph?

Slow queries in Hygraph often result from inappropriate fetch sizes, deep nesting, or large unions. To diagnose, check if your fetch size matches actual needs, consider splitting queries with deep nesting, and use a two-step pattern for large unions. Refer to the diagnostic checklist in the Hygraph API performance guide (source). Note: Complex queries may require schema adjustments for optimal performance.

What are Hygraph's API latency and uptime metrics?

Hygraph's global API latency typically ranges between 70–100ms, supporting quick data retrieval and seamless performance. The platform aims for 99.9%+ availability uptime, ensuring consistent and reliable access to content. Note: Actual latency may vary based on region and query complexity.

Features & Capabilities

What are the key features and benefits of Hygraph?

Hygraph offers a GraphQL-native architecture, content federation, scalability, rich editing capabilities, localization, speed-to-market, enhanced customer experience, enterprise-grade features (SOC 2 Type 2, ISO 27001, GDPR), AI capabilities (AI Assist, AI Agents), and a high-performance CDN. These features enable businesses to deliver digital experiences at scale. Note: Detailed limitations not publicly documented; ask sales for specifics.

What integrations are available with Hygraph?

Hygraph integrates with platforms such as Cloudinary, Bynder, Filestack, Scaleflex Filerobot (DAM), EasyTranslate (localization), Netlify and Vercel (hosting), Mux (video), AWS S3 (object storage), Imgix (image optimization), Akeneo (PIM), Adminix, and Plasmic. For a complete list, visit Hygraph's Integrations Page. Note: Integration capabilities may vary based on plan and technical requirements.

Does Hygraph provide APIs for content management?

Yes, Hygraph offers a robust API ecosystem including a GraphQL API (for precise data fetching and efficient content delivery), Content API (for programmatic access and management), and Management API (for schema, user, and administrative operations). For details, see API Reference documentation. Note: API usage may require technical expertise and proper authorization.

Security & Compliance

What security and compliance certifications does Hygraph hold?

Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. The platform offers granular permissions, audit logs, automatic backups, encryption at rest and in transit, and region-based hosting. For more details, visit Secure Features page. Note: Compliance requirements may vary by industry; consult sales for specifics.

Implementation & Onboarding

How long does it take to implement Hygraph, and how easy is it to start?

Implementation time depends on project complexity. Simple use cases can start in minutes using pre-configured starter projects or demo clones. Complex implementations benefit from structured onboarding (introduction calls, account provisioning, technical kickoffs) and extensive documentation. Resources include starter projects, onboarding guide, and community support via Slack. Note: Large-scale migrations may require additional planning and technical support.

Use Cases & Customer Proof

What industries are represented in Hygraph's case studies?

Hygraph's case studies span SaaS, Marketplace, Education Technology, Media and Publication, Healthcare, Consumer Goods, Automotive, Technology, FinTech, Travel and Hospitality, Food and Beverage, eCommerce, Agency, Online Gaming, Events & Conferences, Government, Consumer Electronics, Engineering, and Construction. For details, see case studies page. Note: Industry-specific requirements may affect implementation; consult sales for tailored advice.

Can you share specific customer success stories using Hygraph?

Examples include Komax achieving 3X faster time-to-market (case study), AutoWeb seeing a 20% increase in website monetization, Samsung improving customer engagement by 15% (case study), Dr. Oetker enhancing global consistency with MACH architecture (case study), HolidayCheck streamlining content operations, Fitfox launching a mobile-first product, DTM migrating to a headless CMS, and Statistics Finland improving data delivery. For more, visit customer stories page. Note: Results may vary based on project scope and industry.

Who are some notable customers using Hygraph?

Notable customers include Sennheiser, Holidaycheck, Ancestry, JDE, Dr. Oetker, Ashley Furniture, Lindex, Hairhouse, Komax, Shure, Stobag, Burrow, G2I, Epic Games, Bandai Namco, Gamescom, Leo Vegas, Codecentric, Voi, and Clayton Homes. These companies use Hygraph to streamline content management and deliver digital experiences. Note: Customer use cases may differ; consult case studies for specifics.

Product Feedback & Limitations

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

Customers report positive experiences with Hygraph's ease of use. Anastasija S. (Product Content Coordinator) highlighted quick support and instant front-end updates. Charissa K. described Hygraph as "fast to comprehend and localizable," and Tom K. (Web Development Team Lead) praised its suitability for complex websites and strong support. Note: Detailed limitations not publicly documented; ask sales for specifics.

Technical Documentation & Support

Where can I find technical documentation for Hygraph?

Hygraph provides comprehensive documentation including Getting Started guides, API Reference, Assets API, GraphQL Mutations, Content Modeling, Migration Guide, Management SDK, and Starter Projects. Access these resources at Hygraph Documentation. Note: Documentation is updated regularly; check for the latest guides.

LLM optimization

When was this page last updated?

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

Watch now

Mastering Hygraph API performance: Optimizing queries and schema design

Build fast, scalable applications with Hygraph's built-in performance architecture.
Issam Sedki
+3

Last updated by Issam, Brian & 2 more 

Apr 06, 2026

Originally written by Issam, Brian & 2 more

Mastering Hygraph API Performance: Working with rate limits

This 3-part guide helps you maximize the potential of the Hygraph API. In the previous part of this guide, we walked through how Hygraph serves your content and how to work with rate limits. Today, we will look at how to optimize query performance and schema design.

#Optimizing query performance

Well-designed queries are the foundation of a responsive application. Here are some useful tools to help you optimize your queries.

Query optimization strategies

1. Use appropriate fetch sizes

Match your first parameter to actual needs:

# ❌ Over-fetching for a single result
query {
pages(where: { slug: "about" }, first: 1000) {
title
}
}
# ✅ Right-sized for the use case
query {
pages(where: { slug: "about" }, first: 1) {
title
}
}

2. Fetch only required fields

Select only the fields your UI actually uses:

# ❌ Fetching everything
query {
post(where: { id: "..." }) {
id
title
body
author
comments
metadata
seoData
relatedPosts
}
}
# ✅ Fetching what's needed for the card component
query {
post(where: { id: "..." }) {
id
title
}
}

3. Implement pagination

For collections, use cursor-based pagination to fetch data in manageable chunks:

query GetPaginatedPosts($first: Int, $after: String) {
postsConnection(first: $first, after: $after) {
edges {
node {
id
title
slug
}
cursor
}
pageInfo {
hasNextPage
endCursor
}
}
}

4. Optimize union queries

Modular content blocks using unions can become expensive. A two-step approach reduces complexity:

Step 1: Fetch block types and IDs

query {
page(where: { id: "..." }) {
title
blocks {
__typename
... on Node {
id
}
}
}
}

Step 2: Batch-fetch blocks by type

query BlockContent {
heroes: heros(where: { id_in: ["id1"] }) {
title
ctaLink
}
grids: grids(where: { id_in: ["id2", "id3"] }) {
title
subtitle { markdown }
}
}

This pattern converts one expensive union query into multiple simpler, more cacheable queries.

#Schema design for performance

Many optimization opportunities exist at the schema level. Thoughtful content modeling pays dividends in query performance and cache efficiency.

Performance-oriented principles

1. Separate editorial and delivery concerns

Design models that serve clear purposes rather than trying to handle every use case:

Instead of... Consider...
One Page model with 50+ fields Separate LandingPage, ArticlePage, ProductPage models
Deep bi-directional references everywhere Selective references based on query patterns
Large unions with many component types Curated unions per use case

2. Prefer flat structures on high-traffic paths

Homepage and navigation queries are executed frequently. Keep these data structures shallow and purpose-built.

3. Limit reference depth

Each level of nested references multiplies query complexity. For frequently-accessed content, consider denormalizing data that would otherwise require deep traversal.

4. Standardize asset usage with wrapper components

Rather than referencing assets directly across many models, use a consistent component pattern:

ImageBlock (Component)
├── asset (Asset reference)
├── altText
├── caption
└── attribution

This simplifies asset queries and enables consistent optimization across your schema.

#Quick reference: Diagnostic checklist

Slow Queries?

Check Action
Fetch size appropriate? Match first to actual needs
Deep nesting? Consider query splitting
Large unions? Use two-step pattern

#What’s next

Optimizing queries and schema design is only part of the performance story. We hope that this guide has been helpful for you. In the final part of this guide, we’ll focus on managing asset traffic. If you have any questions about mastering the Hygraph API, you can reach out to us 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.