How to enable
- Open your Pull Zone settings
- Navigate to Optimizer
- Enable Bunny Optimizer if not already enabled
- Enable HTML Prerender

How it works
When enabled, Bunny Optimizer detects search engine bots and social media crawlers, then:- Detects crawlers and bots based on user agents and creates a specialized cache key
- Renders your page in a real browser to generate a complete HTML snapshot
- Optimizes critical metadata (title, description, canonical, Open Graph, Twitter Card tags) for reliable parsing
- Caches snapshots globally at the edge, revalidating based on your cache headers and purge rules
- Serves the static HTML to crawlers while delivering your dynamic app to human visitors

Benefits
Improved crawl performance: Crawlers get instant access to your content without waiting for JavaScript execution, reducing page load time by up to 99.9%. Better search visibility: Search engines can index your content immediately, potentially improving visibility by up to 95%. AI-ready content: Large language models and AI crawlers can quickly parse your content structure and headings. Optimized social previews: Open Graph and Twitter Card metadata is present in the first response, ensuring rich link previews on social platforms like Facebook, LinkedIn, X, Slack, and Discord. Reduced crawl budget waste: Faster response times mean crawlers can discover more of your pages per session.HTML Prerender is particularly valuable for single-page applications, headless
CMS sites, e-commerce catalogs, marketing pages, documentation sites, and
WebAssembly applications. Even if you’re using SSR, SSG, or ISR, it ensures
crawlers consistently receive clean, static HTML from the edge.
Supported crawlers
Prerender automatically serves rendered HTML to:- Google, Bing, Yahoo search bots
- Facebook, Twitter/X, LinkedIn social crawlers
- AI model crawlers (ChatGPT, Claude, etc.)
- Other known SEO and preview bots
Content integrity
HTML Prerender is designed to help search engines and bots consume your content optimally, not to manipulate rankings:- No cloaking: Serves semantically equivalent content; the prerender is a faithful representation of what users see
- Respects directives: Honors robots.txt and meta tag directives
- No manipulation: Only optimizes delivery, never alters content structure or adds keywords
- Developer-friendly: Works with any origin behind Bunny Optimizer, including Bunny Storage
Limitations
- Only publicly accessible URLs are prerendered
- Pages requiring authentication are not prerendered
- Complex client-side interactions may not be captured