Every optimization,
one pipeline.
pageflare applies 30+ optimizations to your static site output. Here's everything it does.
Speed where it matters
Critical CSS Extraction
Inlines above-the-fold CSS, defers the rest. Eliminates render-blocking stylesheets for instant first paint.
JS Defer & Minification
Automatic defer and loader injection for non-critical scripts. Minification reduces payload size.
Content Hashing
Fingerprinted filenames with optimal cache headers. Immutable assets, forever cached by CDNs.
Speculation Rules
Injects speculation rules for instant page navigations. Near-zero latency transitions between pages.
Background Image Deferral
Defers off-screen CSS background images using IntersectionObserver. Reduces initial page weight.
Preconnect Hints
Automatically injects preconnect and dns-prefetch hints for third-party origins detected on the page.
Pixel-perfect delivery
Smart Image Optimization
Lazy-loading, dimension inference, responsive srcset generation, and adaptive sizing — zero config.
Build-Time Image Processing
Format conversion to WebP/AVIF, responsive srcset variants, disk caching, and content deduplication.
Platform Image CDN
Rewrites images to use Vercel, Netlify, or Cloudflare Pages image CDN for on-the-fly format conversion.
YouTube Facade
Replaces YouTube embeds with lightweight facades. Saves 500kb+ per embed until the user clicks play.
SVG Optimization
Inline SVGs are optimized automatically — removes editor metadata, comments, and redundant attributes.
Typography, optimized
Google Fonts Self-Hosting
Downloads and self-hosts Google Fonts. Eliminates third-party requests and improves load times.
Font Subsetting
Unicode-range subsetting strips unused glyphs. Reduces font payloads by 60-80%.
Font Fallback Stacks
Metric-adjusted fallback fonts for 30 popular Google Fonts families. Eliminates layout shift while web fonts load.
Font Display Swap
Injects font-display: swap into all @font-face rules so text remains visible while custom fonts load.
Discoverable by default
Managed robots.txt
Policy-based robots.txt with content signal comments. Control search and AI crawler access with one config option.
Sitemap Generation
Automatic sitemap.xml with lastmod dates and gzip compression. Robots.txt integration with Sitemap directive.
LLM-Friendly Indexing
Generates llms.txt and llms-full.txt for AI-friendly site indexing. Subsection indexes for large sites.
Markdown Content Negotiation
Pages available as Markdown via Accept: text/markdown. Edge functions generated for Vercel and Netlify.
WordPress, supercharged
Edge Optimizer
On-demand optimization for live WordPress sites. Pages optimized at the edge on first visit — no build step.
Bloat Removal
Strips emoji scripts, editor-only code, redundant meta tags, and unused query strings from static exports.
WP-Hide Path Sanitization
Renames wp-content to content, wp-includes to includes, removes wp-admin from static exports.
WordPress Admin Plugin
Admin plugin with setup wizard, Simply Static integration, optimization presets, and health check dashboard.
Every optimization. One command.
Install the CLI, point it at your build output, and see results in under two seconds.