SSR & SSG Support
Fetch content server-side with getServerSideProps or generate static pages at build time. Perfect balance of performance and freshness.
Pages Router โSeamless integration with SSR, SSG, and ISR. TypeScript-native SDK, real-time preview, and edge-ready performance. Deploy to Vercel in minutes.
Designed from the ground up for modern Next.js applications. Every feature leverages the framework's full potential.
Fetch content server-side with getServerSideProps or generate static pages at build time. Perfect balance of performance and freshness.
Pages Router โFull support for Next.js 13+ App Router with React Server Components. Fetch data directly in async components with zero client JS.
App Router โIncremental Static Regeneration built-in. Update content without redeploying. Webhooks trigger automatic page revalidation.
On-Demand Revalidation โFull type safety with auto-generated types from your content schema. IntelliSense support for all API responses.
Type-Safe โDeploy to Vercel Edge Network with middleware support. Global content delivery with sub-50ms response times.
Edge Ready โNative Next.js Image component support. Automatic responsive images, WebP/AVIF conversion, and blur placeholder generation.
next/image โGet started in minutes with our TypeScript SDK. Clean, intuitive APIs that feel native to Next.js.
import { hisite } from '@hisite/next';
import { notFound } from 'next/navigation';
// Fetch content in React Server Component
export default async function BlogPost({
params
}: {
params: { slug: string }
}) {
const post = await hisite.getPost({
slug: params.slug,
preview: true
});
if (!post) {
notFound();
}
return (
<article>
<h1>{post.title}</h1>
<div dangerouslySetInnerHTML={{ __html: post.content }} />
</article>
);
}
Optimize your Next.js application with these proven patterns for fetching and caching CMS content.
Fetch content directly in Server Components to eliminate client-side JavaScript. Zero bundle size impact for content rendering.
Leverage Next.js fetch caching with {`{ next: { revalidate: 60 } }`} for stale-while-revalidate patterns.
Use Promise.all() to fetch multiple content pieces concurrently. Reduces total loading time significantly.
Configure export const revalidate = 3600 for pages that need periodic updates without full rebuilds.
Use generateStaticParams for dynamic routes to pre-render popular pages at build time.
Wrap CMS-dependent components with error boundaries. Display fallback UI when content is temporarily unavailable.
See content changes instantly as you edit. Our live preview system streams updates directly to your browser without page reloads.
Edit content on the left, see live preview on the right. Split-screen mode for maximum productivity.
Preview your content on desktop, tablet, and mobile simultaneously. Responsive design validation built-in.
Multiple team members can edit and preview simultaneously. See cursors and changes in real-time.
Next.js has revolutionized how we build React applications. With features like Server Components, streaming, and edge runtime...
Optimized for modern hosting platforms. Deploy your Next.js CMS-powered site with a single click or command.
One-click deploy with zero config. Edge Functions and ISR fully supported.
Git-based continuous deployment with edge caching and form handling.
Deploy to 300+ edge locations. Unmatched global performance.
Docker containers for AWS, GCP, Azure, or your own infrastructure.
Link your GitHub, GitLab, or Bitbucket repo to your hosting platform.
Set your HiSite API keys and webhook secrets in the dashboard.
Push to main branch triggers automatic build and deployment.
Everything you need to build with HiSite and Next.js. Comprehensive guides, API references, and starter templates.
Next.js 14 + Tailwind + MDX
App Router + Stripe + ISR
Next.js + Full-text search
Start building today with our free tier. No credit card required. Deploy to Vercel in minutes.