Optimize
Make your Publier site fast, accessible, and AI-ready.
Configure machine-readable exports, search, diagrams, math, and analytics. Each guide identifies the dependencies and settings its feature needs.
What’s in this section
AI featuresDiscovery index, rendered Markdown, full-text exports, and AI UI limits.
SearchWhat the Pagefind index covers, how to scope it, and what a host serves.
IntegrationsSearch, diagrams, math, analytics, and more.
AnalyticsWhat Publier injects for analytics, what your provider owns, and the CSP and privacy work left to you.
AccessibilityWhat Publier builds in for keyboard, screen reader, zoom and reduced-motion readers, and what you check yourself.
Performance baseline
Every Publier site ships with:
- Static output — CDN-cacheable HTML, no server tax.
- Minimal JS — most components are zero-JS HTML + CSS; a small set use lightweight web components for progressive enhancement.
- Pre-rendered syntax highlighting and a static search index built into every release.
- Tree-shaken styles — unused utilities never ship.
Publier does not guarantee a Lighthouse score. Measure your own pages, and measure again after adding an integration (analytics, embedded video, live chat), the usual cause of a drop; start with the integrations guide. An automated score misses most accessibility problems, so also work through Accessibility.
Next steps
- Shipping AI-ready content? Start with AI features.
- Adding third-party services or diagrams? See integrations.
- Tuning the build? The deployment guide covers cache headers.