Architects
This guide covers strategies for scaling Agility CMS implementations, including content scaling, performance scaling, and multi-locale scaling.
This guide covers strategies for scaling Agility CMS implementations, including content scaling, performance scaling, and multi-locale scaling.
Challenges:
Solutions:
Challenges:
Solutions:
Challenges:
Solutions:
Implement pagination for large lists:
const { items, totalCount } = await getContentList({
referenceName: "posts",
take: 10,
skip: (page - 1) * 10
})
Use filters to reduce query size:
const { items } = await getContentList({
referenceName: "posts",
filter: "fields.categoryID:eq:5",
take: 10
})
Pre-render pages at build time:
export async function generateStaticParams() {
// Generate all page paths at build time
}
Update pages on-demand:
export const revalidate = 60 // Revalidate every 60 seconds
/fr/)Next: Security - Security best practices