Setting the file. One moment.
Subchapter 7.10
references/playbooks/marketing.mdMarkdown3 KBView on GitHub
Landing pages, lead-capture forms, A/B-tested variants, region-routed homepages. Traffic is bursty (campaigns drive spikes). Bot traffic can be substantial.
Edge Requests dominate. Image Optimization is high (hero images, illustrations, product screenshots). Bandwidth matters for video content. Function Duration is usually low — most pages are static or ISR.
Cache-Control: public, s-maxage=86400, stale-while-revalidate=604800 keeps the CDN warm for 24h and stale-serves for a week.vercel-react-best-practices:bundle-defer-third-party.next/image with sizes is mandatory./api/contact is the only function but runs hot. Marketing sites are mostly static but the contact form gets bot-spammed. Rate limit at middleware; consider a queue for outgoing emails.https://vercel.com/docs/bot-management — almost always the right platform rechttps://vercel.com/docs/incremental-static-regeneration — for CMS-driven sectionshttps://nextjs.org/docs/app/api-reference/components/image — hero/illustration optimizationvercel-react-best-practices:bundle-defer-third-party — defer analytics/pixelshttps://nextjs.org/docs/app/building-your-application/routing/middleware — A/B variant routing at the edge