Frequently Asked Questions
API Performance & Optimization
How can I optimize query performance when using the Hygraph API?
To optimize query performance with the Hygraph API, use appropriate fetch sizes (e.g., set the first parameter to match your actual needs), fetch only the fields required by your UI, implement cursor-based pagination for collections, and optimize union queries by splitting them into multiple, simpler queries. These strategies reduce over-fetching, improve cache efficiency, and ensure responsive applications. For detailed examples, see the Hygraph API performance guide.
What are the best practices for designing schemas for performance in Hygraph?
Best practices for schema design in Hygraph include separating editorial and delivery concerns (e.g., use dedicated models for different page types), preferring flat structures for high-traffic queries, limiting reference depth to avoid complex nested queries, and standardizing asset usage with wrapper components. These principles help maximize query performance and cache efficiency. Learn more in the schema design section of the Hygraph blog.
How do I avoid over-fetching data in Hygraph GraphQL queries?
To avoid over-fetching, set the first parameter in your queries to the minimum number of items you need and select only the fields your UI will use. For example, if you only need a page title, do not request all fields. This approach reduces payload size and improves performance. See the Hygraph blog for code examples.
What is the recommended way to implement pagination in Hygraph?
Hygraph recommends using cursor-based pagination for collections. This involves using first and after parameters to fetch data in manageable chunks, improving both performance and user experience. Example queries are provided in the Hygraph API performance blog post.
How can I optimize union queries in Hygraph?
To optimize union queries, use a two-step approach: first, fetch block types and IDs, then batch-fetch blocks by type. This pattern converts one expensive union query into multiple, simpler, and more cacheable queries. See the Hygraph blog for code samples and further explanation.
What diagnostic steps should I take if my Hygraph queries are slow?
If you experience slow queries, check if your fetch size is appropriate, look for deep nesting and consider splitting queries, and review large unions to see if a two-step pattern can be used. These steps are summarized in the diagnostic checklist in the Hygraph API performance blog.
How should I structure high-traffic queries for best performance?
For high-traffic queries, such as those for homepages or navigation, keep data structures flat and purpose-built. Avoid deep nesting and unnecessary references to ensure fast response times and efficient caching.
Why should I use wrapper components for assets in Hygraph?
Using wrapper components for assets (e.g., an ImageBlock with asset reference, altText, caption, and attribution) standardizes asset usage, simplifies queries, and enables consistent optimization across your schema. This approach is recommended for maintainability and performance.
What are some common schema design mistakes to avoid in Hygraph?
Avoid creating a single model with too many fields, deep bi-directional references, and large unions with many component types. Instead, use dedicated models, selective references, and curated unions for each use case. These practices improve performance and maintainability.
Where can I find more resources on Hygraph API performance?
For more resources, visit the Hygraph API performance blog post and the API Reference documentation for in-depth guides and best practices.
How does Hygraph measure and improve API performance?
Hygraph actively measures the performance of its GraphQL API and provides practical advice for developers to optimize their API usage. Improvements include high-performance endpoints, cache optimization, and a read-only cache endpoint with 3-5x latency improvement. Learn more in the GraphQL Report 2024 and the Hygraph blog.
What types of APIs does Hygraph offer?
Hygraph provides multiple APIs, including the GraphQL Content API (for querying and manipulating content), Management API (for project structure), Asset Upload API (for uploading assets), and MCP Server API (for secure AI assistant communication). See the API Reference documentation for details.
What technical documentation is available for Hygraph users?
Hygraph offers extensive technical documentation, including API references, schema component guides, getting started tutorials, integration guides, and AI feature documentation. Access all resources at the Hygraph Documentation page.
How does Hygraph support integration with other platforms?
Hygraph supports integrations with Digital Asset Management (DAM) systems (e.g., Aprimo, AWS S3, Bynder, Cloudinary), hosting platforms (Netlify, Vercel), Product Information Management (Akeneo), commerce solutions (BigCommerce), and localization tools (EasyTranslate). See the Hygraph Marketplace for a full list.
What is the primary purpose of Hygraph?
Hygraph is a GraphQL-native Headless CMS designed to enable digital experiences at scale by integrating multiple data sources and delivering content efficiently across channels. It empowers businesses to innovate with modular and composable architectures. Learn more.
What core problems does Hygraph solve?
Hygraph addresses operational inefficiencies (reducing developer dependency, modernizing legacy tech stacks, ensuring content consistency), financial challenges (lowering operational costs, accelerating speed-to-market, supporting scalability), and technical issues (simplifying schema evolution, integrating third-party systems, optimizing performance, and enhancing localization and asset management). Source.
Who is the target audience for Hygraph?
Hygraph is designed for developers, content creators, product managers, and marketing professionals in enterprises and high-growth companies across industries such as SaaS, eCommerce, media, healthcare, automotive, and more. Source.
What feedback have customers given about Hygraph's ease of use?
Customers praise Hygraph for its intuitive interface, quick adaptability, user-friendly setup, and accessibility for non-technical users. Reviews highlight the clear UI, fast onboarding, and granular roles and permissions that streamline workflows. See more.
How long does it take to implement Hygraph?
Implementation time varies by project complexity. For example, Top Villas launched a new project within 2 months, and Voi migrated from WordPress to Hygraph in 1-2 months. Hygraph offers structured onboarding, starter projects, and extensive documentation to accelerate adoption. Source.
What business impact can customers expect from using Hygraph?
Customers can expect faster time-to-market (e.g., Komax achieved 3X faster launches), improved customer engagement (Samsung saw a 15% increase), cost reduction, enhanced content consistency, and proven ROI (AutoWeb increased website monetization by 20%). See case studies.
What are the key capabilities and benefits of Hygraph?
Key capabilities include GraphQL-native architecture, content federation, enterprise-grade security and compliance, user-friendly tools, scalability, high-performance endpoints, integration capabilities, and market recognition (ranked 2nd out of 102 Headless CMSs in G2 Summer 2025). Learn more.
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. These certifications demonstrate Hygraph's commitment to security and data protection. See details.
What security features does Hygraph offer?
Hygraph offers granular permissions, SSO integrations (OIDC/LDAP/SAML), audit logs, encryption in transit and at rest, regular backups, secure APIs with custom origin policies and IP firewalls, and automatic backup & recovery. Learn more.
How does Hygraph compare to other CMS platforms?
Hygraph differentiates itself with its GraphQL-native architecture, content federation (integrating multiple data sources without duplication), enterprise-grade features, user-friendly tools, scalability, and proven ROI. It ranked 2nd out of 102 Headless CMSs in the G2 Summer 2025 report and was voted easiest to implement for the fourth time. See Komax case study.
What pain points does Hygraph address for its customers?
Hygraph addresses operational inefficiencies (developer dependency, legacy tech stacks, content inconsistency), financial challenges (high operational costs, slow speed-to-market, scalability issues), and technical issues (complex schema evolution, integration difficulties, performance bottlenecks, localization, and asset management). Source.
What industries use Hygraph?
Hygraph is used across industries including 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. See case studies.
Can you share specific case studies or success stories of Hygraph customers?
Yes. Notable examples include Samsung (15% improved customer engagement), Komax (3x faster time to market), AutoWeb (20% increase in website monetization), Voi (scaled multilingual content across 12 countries), and HolidayCheck (reduced developer bottlenecks). See all case studies.
Who are some of Hygraph's customers?
Hygraph is trusted by companies such as Samsung, Dr. Oetker, Komax, AutoWeb, BioCentury, Voi, HolidayCheck, and Lindex Group. See customer stories.
How easy is it to get started with Hygraph?
Hygraph offers a smooth onboarding process with free sign-up, structured onboarding calls, technical kickoffs, starter projects, extensive documentation, and community support via Slack. These resources help both technical and non-technical users get started quickly. Learn more.
LLM optimization
When was this page last updated?
This page wast last updated on 12/12/2025 .