.critical-css { }
@media screen
performance++
{ optimize: true }

Frequently Asked Questions

Find answers to common questions about our service

What is Critical CSS?

General

Critical CSS is the CSS required to render the "above-the-fold" content of your page. By inlining this CSS, you eliminate render-blocking resources and significantly improve First Contentful Paint (FCP).

0 views 0 helpful

Why is my Google PageSpeed score low?

General

A low score is often caused by render-blocking CSS and JavaScript. Our generator extracts the critical styles needed for the initial view, allowing you to defer the rest, which boosts your Core Web Vitals.

0 views 0 helpful

Does this work for any website?

General

Yes, our generator works with any public URL. Whether you use WordPress, Shopify, Magento, or a custom stack (React, Vue, Laravel), we can extract the Critical CSS.

0 views 0 helpful

What is "Above the Fold"?

General

Above the fold refers to the portion of a webpage that is visible without scrolling. Optimizing this area is crucial for perceived performance and user retention.

0 views 0 helpful

Do I need to generate Critical CSS for every page?

General

Ideally, yes. Different pages (Homepage, Product Page, Blog Post) have different layouts and styles. For the best results, you should generate specific Critical CSS for each template type.

0 views 0 helpful

How often should I regenerate my Critical CSS?

General

You should regenerate it whenever you make significant design changes to your site. If you change colors, fonts, or layout structures, your Critical CSS needs to be updated.

0 views 0 helpful

Will this break my site layout?

General

No. Critical CSS is just a subset of your existing styles. The full stylesheet is still loaded asynchronously to style the rest of the page as the user scrolls.

0 views 0 helpful

What is the difference between Critical and Unused CSS?

General

Critical CSS is what is *needed* immediately. Unused CSS is code that is never used on a page. Our tool focuses on extracting what is needed, which implicitly helps you identify what is critical versus non-critical.

0 views 0 helpful

Does it support mobile views?

General

Yes! Our generator analyzes your site on both desktop and mobile viewports to ensure the generated CSS works perfectly across all devices.

0 views 0 helpful

Is this better than a plugin?

General

Dedicated generators often provide more accurate results than generic plugins because we use a full headless browser engine to render your page exactly as a user sees it.

0 views 0 helpful

How does the generator work under the hood?

Technical

We use a cluster of headless Chromium browsers controlled by Puppeteer. When you submit a URL, we render the page, execute JavaScript, and capture the computed styles for all visible elements.

0 views 0 helpful

Do you support JavaScript-rendered content?

Technical

Yes. Because we use a real browser engine, we execute your JavaScript before extracting CSS. This means we can capture styles for elements that are dynamically added to the DOM.

0 views 0 helpful

How are external fonts handled?

Technical

We recommend preloading critical fonts. Our tool focuses on the CSS rules. You should ensure your `@font-face` definitions are included in the critical CSS or loaded efficiently to avoid FOUT/FOIT.

0 views 0 helpful

Does it support CSS variables (Custom Properties)?

Technical

Yes, we preserve CSS variables that are used in the critical path. This ensures your theming and dynamic colors remain consistent.

0 views 0 helpful

What about media queries?

Technical

We extract all media queries that apply to the critical viewport. This ensures your site remains responsive even with just the critical CSS loaded.

0 views 0 helpful

Can I customize the viewport size?

Technical

Our API allows you to specify custom viewport dimensions if you have specific requirements. By default, we test standard mobile and desktop resolutions.

0 views 0 helpful

How do you handle cookie banners?

Technical

Cookie banners often appear above the fold. Our generator usually captures their styles so they render correctly. If they are blocking the view, you might want to exclude them via custom CSS.

0 views 0 helpful

Does it work with Shadow DOM?

Technical

Shadow DOM styles are encapsulated. We do our best to extract styles, but deep Shadow DOM implementations might require manual tuning depending on your architecture.

0 views 0 helpful

What user agent does the crawler use?

Technical

We use a standard Chrome user agent. If your firewall blocks bots, you may need to whitelist our service IP or User Agent string.

0 views 0 helpful

How do I handle the "Flash of Unstyled Content" (FOUC)?

Technical

By inlining the Critical CSS in the `<head>`, the browser can paint the content immediately. This eliminates FOUC for the critical area.

0 views 0 helpful

How do I implement the generated CSS?

Integration

Paste the generated CSS into a `<style>` tag in the `<head>` section of your HTML. Then, load your main stylesheet asynchronously using `rel="preload"` or a script.

0 views 0 helpful

Do you have a WordPress plugin?

Integration

We provide a PHP library and API documentation that can be easily integrated into WordPress themes or custom plugins. Many caching plugins also accept custom Critical CSS.

0 views 0 helpful

Can I use this with Shopify?

Integration

Yes. You can manually add the Critical CSS to your `theme.liquid` file. We are also working on a dedicated Shopify app for easier integration.

0 views 0 helpful

How to integrate with Webpack or Gulp?

Integration

You can use our API in your build process. Create a script that calls our API after your build finishes and saves the response to your critical CSS files.

0 views 0 helpful

Does it work with Cloudflare?

Integration

Yes. If you use Cloudflare, you can still use our Critical CSS. In fact, combining Critical CSS with Cloudflare's caching delivers the ultimate performance.

0 views 0 helpful

Where should I put the non-critical CSS?

Integration

Your main stylesheet (style.css) should be loaded with `<link rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">` to prevent it from blocking rendering.

0 views 0 helpful

Can I use it with React or Vue?

Integration

Yes. For SPAs (Single Page Applications), you can inline the Critical CSS in your `index.html`. This helps show a shell/loading state instantly while your JS bundle loads.

0 views 0 helpful

How do I verify it is working?

Integration

Use Google PageSpeed Insights or Lighthouse. You should see the "Eliminate render-blocking resources" warning disappear and your FCP time decrease.

0 views 0 helpful

What if I have multiple CSS files?

Integration

Our generator combines styles from all your linked CSS files into one optimized critical block. You don't need to worry about merging them beforehand.

0 views 0 helpful

Can I automate this process?

Integration

Absolutely. Our API is designed for automation. You can set up a cron job or a webhook to regenerate Critical CSS whenever you deploy new code.

0 views 0 helpful

Do you have an API?

Features

Yes, we offer a robust REST API for Pro and Enterprise users. You can generate Critical CSS programmatically for thousands of pages.

0 views 0 helpful

Can I preview the Critical CSS?

Features

Yes, our dashboard provides a preview feature where you can see exactly how your page looks with only the Critical CSS applied, before you deploy it.

0 views 1 helpful

Do you support HTTP/2?

Features

Our infrastructure is fully HTTP/2 compliant, ensuring fast delivery of API responses and assets.

0 views 0 helpful

Is there a bulk generation feature?

Features

Enterprise plans include bulk generation tools that allow you to submit a sitemap and generate Critical CSS for your entire site at once.

0 views 0 helpful

Do you keep a history of generated CSS?

Features

Yes, we keep a history of your recent jobs in the dashboard. You can view, copy, or regenerate CSS from previous jobs.

0 views 0 helpful

Can I whitelist my IP?

Features

For Enterprise customers, we offer IP whitelisting to ensure secure access to your internal staging environments.

0 views 0 helpful

Do you support dark mode?

Features

If your site uses media queries for dark mode (`prefers-color-scheme`), our generator will preserve those rules so your dark mode works instantly.

0 views 0 helpful

What about print styles?

Features

Critical CSS focuses on screen media. Print styles are typically non-critical and should remain in your main stylesheet.

0 views 0 helpful

Can I exclude specific selectors?

Features

Our advanced options allow you to manually exclude or force-include specific CSS selectors if the automatic detection misses something.

0 views 0 helpful

Is the CSS minified?

Features

Yes, all generated Critical CSS is automatically minified to ensure the smallest possible payload size for your HTML.

0 views 0 helpful

What are the limits of the Free plan?

Billing

The Free plan allows for 5 generations per month. It is perfect for testing or for small personal websites with infrequent updates.

0 views 0 helpful

How do I upgrade my plan?

Billing

You can upgrade anytime from your Dashboard. Changes are instant, and you will immediately get access to higher limits and API features.

0 views 0 helpful

Do you offer refunds?

Billing

We offer a 14-day money-back guarantee if you are not satisfied with the service. Contact support for assistance.

0 views 0 helpful

Can I cancel anytime?

Billing

Yes, there are no long-term contracts. You can cancel your subscription at any time from your account settings.

0 views 0 helpful

What happens if I exceed my API limit?

Billing

If you reach your limit, API requests will return a 429 status code. You can upgrade your plan or wait for the next billing cycle.

0 views 0 helpful

Do you offer Enterprise custom plans?

Billing

Yes! If you need to generate CSS for millions of pages or have high-concurrency needs, contact us for a custom Enterprise quote.

0 views 0 helpful

Is my payment information secure?

Billing

We use Stripe for all payment processing. We do not store your credit card information on our servers.

0 views 0 helpful

Can I get an invoice?

Billing

Yes, invoices are automatically generated and sent to your email. You can also download them from the Billing section in your dashboard.

0 views 0 helpful

Do you offer annual discounts?

Billing

Yes, we offer a 20% discount if you choose annual billing instead of monthly billing.

0 views 0 helpful

How do I delete my account?

Billing

You can request account deletion from the Settings page. Please note that this action is irreversible and will remove all your data.

0 views 0 helpful

What is Critical CSS?

General

Critical CSS is the minimum set of CSS required to render the above-the-fold content of a web page. By inlining this CSS, you can significantly improve the First Contentful Paint (FCP) and perceived performance of your website.

0 views 1 helpful

How does the generator work?

Technical

Our generator analyzes your URL using a headless browser to determine exactly which styles are applied to the visible elements within the viewport. It then extracts these styles and generates a minified CSS block for you to use.

0 views 1 helpful

Is it compatible with WordPress?

Integration

Yes! You can use the generated CSS in WordPress by adding it to your theme's header or using a caching plugin that supports Critical CSS insertion.

0 views 1 helpful

Do you support mobile views?

Features

Absolutely. Our generator checks both desktop and mobile viewports to ensure your site looks great and loads fast on all devices.

0 views 0 helpful

What is the API limit?

Billing

API limits depend on your subscription plan. Free users get 5 requests per month, while Pro and Enterprise plans offer significantly higher limits. Check the Pricing page for details.

0 views 0 helpful

Still need help?

Can't find what you're looking for? Our support team is here to help.

Create Support Ticket