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

Frequently Asked Questions

Find answers to common questions about our service

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

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

Still need help?

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

Create Support Ticket