What It Does
Hyperspeed extracts the minimal CSS needed to render above-the-fold content and inlines it directly into the page. This means users see a visually complete layout almost immediately, even before the rest of the styling loads.
We generate unique critical CSS for your home, product, and collection pages. The remaining styles are deferred until after the initial render.
How It Works
Without Critical CSS
The browser must download and process large CSS files before showing any content, resulting in a blank screen or unstyled content while waiting.
- External CSS file must download completely
- Blocks rendering until fully processed
- Visible delay before content appears
With Critical CSS
Essential styling is immediately available, allowing the browser to show the above-the-fold content instantly, while remaining styles load in the background.
- Essential styles included in HTML
- Instant rendering of visible content
- Full CSS loads non-blocking in background
Why It Matters
Most Shopify themes include massive stylesheets - often 200KB+ - that are loaded before any content is shown. This delays the First Contentful Paint and hurts performance scores.
Inlining critical CSS solves that by giving the browser just what it needs to show content right away. That means faster perceived speed and better Core Web Vitals scores like First Contentful Paint (FCP).
Faster Perceived Speed
Users see a visually complete page almost instantly, dramatically improving perceived load times.
Improved Core Web Vitals
Boosts First Contentful Paint (FCP) and Largest Contentful Paint (LCP) metrics that impact SEO.
Better Mobile Experience
Especially impactful on mobile devices where bandwidth and processing power are limited.
Key Techniques Used
Page-specific Extraction
Different critical CSS is generated for different page types (home, product, collection) to ensure optimal performance for each template.
Inlining
Injects critical styles directly into the page's HTML, eliminating the need for an additional request and making styles instantly available.
Deferred Full CSS
Loads the full stylesheet in a non-blocking way only after the page becomes visible, ensuring complete styling without slowing initial render.
Safety and Control
We've designed Critical CSS to work flawlessly while giving you full control over the implementation.
Error Protection
Automatically disabled if there are errors in the CSS, preventing any styling issues from affecting your store.
Customizable Settings
Manually disable or customize page types if needed, giving you precise control over where Critical CSS is applied.
On-Demand Regeneration
Regenerate CSS any time as your layout evolves, ensuring your Critical CSS always matches your current store design.