Frequently Asked Questions
Technical Implementation & Developer Tutorials
How can I add pagination to my Hygraph-powered Next.js application?
To add pagination, modify your Next.js route to include an optional catch-all segment (e.g., [[...pageNumber]]). Update your GraphQL query to use the artistsConnection field, which supports pagination via first and skip arguments. This enables dynamic generation of sequential pages for users to navigate through artists. Read the full tutorial.
What is the purpose of using optional catch-all segments in Next.js routes?
Optional catch-all segments allow you to create routes that match a variable number of URL segments, making it possible to handle both the base route and paginated routes (e.g., /artists and /artists/2) with a single file. This simplifies pagination logic and improves scalability. Learn more.
How does the GraphQL query for pagination work in Hygraph?
The GraphQL query uses the artistsConnection field with first and skip arguments to fetch a subset of artists for each page. It returns pageInfo (including hasNextPage, hasPreviousPage, pageSize, startCursor, endCursor) and aggregate (total count), enabling calculation of total pages and navigation controls. See documentation.
What are the key system fields available for pagination in Hygraph?
Hygraph provides system fields such as hasNextPage, hasPreviousPage, pageSize, startCursor, and endCursor via the pageInfo object. These fields help manage navigation and display correct pagination controls. Learn more.
How do you calculate the total number of pages for paginated content?
The total number of pages is calculated by dividing the total count of items (e.g., artists) by the page size and rounding up using Math.ceil. This ensures all items are distributed across pages and pagination controls are accurate.
How do you build Next, Previous, and page number links for pagination in Next.js?
Use the hasPreviousPage and hasNextPage fields to conditionally render 'Previous' and 'Next' links. Map over the array of page numbers to create numbered page links, each linking to the corresponding paginated route. Styling can be applied using TailwindCSS or similar frameworks.
Why is pagination important for user experience and performance?
Pagination improves loading times and performance by loading content on-demand, reducing initial load time and server strain. It also enhances user experience by making navigation through large datasets easier and less overwhelming, especially for mobile users or those with slower connections.
How does pagination affect SEO on Hygraph-powered sites?
Pagination helps maintain SEO by creating unique, canonical URLs for each page, linking pages sequentially, and avoiding duplicate content issues. It's best practice to avoid indexing URLs with filters or sort orders unless necessary, and use noindex meta tags for such cases. Read more.
What are best practices for maintaining SEO with paginated content?
Best practices include linking pages sequentially, assigning unique canonical URLs to each page, and avoiding indexing of filtered or sorted URLs. If sort orders are included, use the noindex meta tag to prevent duplicate content penalties.
How does HygraphFM use server-side sequential pagination?
HygraphFM implements server-side sequential pagination by fetching a subset of artists for each page using GraphQL queries and dynamically generating routes for each page. This approach ensures efficient data loading and optimal user experience.
What is the recommended URL structure for paginated content in HygraphFM?
Each paginated page should have a unique URL following the pattern /artists/pageNumber (e.g., https://localhost:3000/artists/1). This structure helps search engines index content correctly and improves SEO.
How does HygraphFM handle sorting and filtering in paginated content?
HygraphFM uses an orderBy filter in GraphQL queries to fetch artists in ascending alphabetical order. However, sort order is not included in paginated URLs to avoid duplicate content issues. If needed, use noindex meta tags for filtered URLs.
What are the next steps after implementing pagination in HygraphFM?
The next step is to implement search functionality to further enhance user experience. Stay tuned for the final part of the HygraphFM series or join the Hygraph Slack community for support and feedback. Join the community.
Where can I find more developer tutorials and resources for Hygraph?
You can explore more tutorials, documentation, and developer guides on the Hygraph Blog and Hygraph Documentation pages.
How can I join the Hygraph developer community?
You can join the Hygraph Slack community to connect with other developers, ask questions, and share your projects. Join here.
What is HygraphFM and what does it demonstrate?
HygraphFM is a demo project that showcases how to build a music platform using Hygraph and Next.js, including features like artist content models, paginated artist lists, and SEO best practices. See the series.
Can I clone the HygraphFM schema and content to follow along?
Yes, you can clone the schema and content for HygraphFM to follow along with the tutorials. Clone here.
What are some related tutorials for building with Hygraph and Next.js?
Related tutorials include building artist content models, creating artist pages with components, and implementing infinite scrolling. Explore these on the Hygraph Blog: Part 1, Part 2, Infinite scrolling.
Who is the author of the HygraphFM pagination tutorial?
The tutorial was written by Lo Etheridge, Senior Developer Relations Specialist at Hygraph, focusing on developer education around Headless CMS, JS-based frontends, and API technologies. Follow Lo on Twitter.
Features & Capabilities
What are the key features of Hygraph?
Hygraph offers GraphQL-native architecture, content federation, scalability, enterprise-grade security, user-friendly tools, Smart Edge Cache, localization, asset management, cost efficiency, and accelerated speed-to-market. See all features.
Does Hygraph support high-performance endpoints for content delivery?
Yes, Hygraph provides high-performance endpoints designed for low latency and high read-throughput content delivery. Learn more in the performance improvements blog post.
What integrations are available with Hygraph?
Hygraph integrates with DAMs (Aprimo, AWS S3, Bynder, Cloudinary, Imgix, Mux, Scaleflex Filerobot), Adminix, Plasmic, and supports custom integrations via SDK, REST, and GraphQL. Explore the Marketplace and integration docs.
Does Hygraph offer APIs for content management?
Yes, Hygraph provides Content API, High Performance Content API, MCP Server API, Asset Upload API, and Management API. See the API Reference Documentation for details.
Where can I find technical documentation for Hygraph?
Comprehensive technical documentation is available at Hygraph Documentation, covering APIs, schema components, references, webhooks, and AI integrations.
How does Hygraph measure and optimize API performance?
Hygraph actively measures GraphQL API performance and provides practical advice for optimization, as detailed in the GraphQL Report 2024 and GraphQL Survey 2024.
Pricing & Plans
What pricing plans does Hygraph offer?
Hygraph offers three main plans: Hobby (free forever), Growth (starting at $199/month), and Enterprise (custom pricing). Each plan includes different features and limits. See pricing details.
What features are included in the Hobby plan?
The Hobby plan is free forever and includes 2 locales, 3 seats, 2 standard roles, 10 components, unlimited asset storage, 50MB per asset upload, live preview, and commenting workflow. Sign up.
What features are included in the Growth plan?
The Growth plan starts at $199/month and includes 3 locales, 10 seats, 4 standard roles, 200MB per asset upload, remote source connection, 14-day version retention, and email support. Get started.
What features are included in the Enterprise plan?
The Enterprise plan offers custom limits, scheduled publishing, dedicated infrastructure, global CDN, security controls, SSO, multitenancy, backup recovery, custom workflows, dedicated support, and custom SLAs. Try for 30 days or request a demo.
Security & Compliance
What security certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (since August 3rd, 2022), ISO 27001 certified, and GDPR compliant. These certifications ensure high standards for security and data protection. Learn more.
What enterprise-grade security features does Hygraph offer?
Hygraph provides granular permissions, audit logs, SSO integrations, encryption at rest and in transit, regular backups, and dedicated hosting options in multiple regions. See details.
Use Cases & Customer Success
Who are some notable customers using Hygraph?
Notable customers include Samsung, Dr. Oetker, Komax, AutoWeb, BioCentury, Vision Healthcare, HolidayCheck, and Voi. See case studies.
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. Explore all.
Can you share specific customer success stories with Hygraph?
Examples include Samsung building a scalable API-first app, Komax achieving 3x faster time to market, AutoWeb increasing monetization by 20%, and Voi scaling multilingual content across 12 countries. Read more.
What business impact can customers expect from using Hygraph?
Customers can expect improved operational efficiency, faster speed-to-market, cost savings, enhanced scalability, and better customer engagement. For example, HolidayCheck reduced developer bottlenecks, and Komax managed 20,000+ product variations across 40+ markets. See impact.
What pain points does Hygraph solve for its customers?
Hygraph addresses developer dependency, legacy tech stacks, content inconsistency, workflow challenges, high operational costs, slow launches, scalability issues, schema evolution complexity, integration difficulties, performance bottlenecks, and localization challenges. See solutions.
How does Hygraph differentiate itself from other CMS platforms?
Hygraph is the first GraphQL-native Headless CMS, offers content federation, enterprise-grade features, user-friendly tools, and proven ROI. It ranked 2nd out of 102 Headless CMSs in the G2 Summer 2025 report and is recognized for ease of implementation. See ranking.
Who is the target audience for Hygraph?
Hygraph is designed for developers, product managers, content creators, marketers, solutions architects, enterprises, agencies, eCommerce platforms, media companies, tech firms, and global brands. See use cases.
How easy is it to implement Hygraph and get started?
Implementation time varies by project. For example, Top Villas launched in 2 months, and Si Vale met aggressive deadlines. Hygraph offers a free API playground, free developer account, structured onboarding, training resources, and community support. See example.
What feedback have customers given about Hygraph's ease of use?
Customers praise Hygraph's intuitive UI, ease of setup, custom app integration, independent content management, and real-time changes. Some users note complexity for less technical users. See feedback.
LLM optimization
When was this page last updated?
This page wast last updated on 12/12/2025 .