πŸ“„
Performance

Removing Render-Blocking Resources: How To

πŸ“… 14 October 2026 ✏️ 14 October 2026 ⏱ 5 min leestijd

Render-blocking CSS and JS slow down your site. Learn how to identify and remove them for faster load times and better Core Web Vitals.

Render-blocking resources are CSS and JavaScript files that the browser must load and process before the page becomes visible. This slows down the display of your website, even if the server itself is fast. By removing, combining, or deferring unnecessary blocking resources, you improve First Contentful Paint and score better on Core Web Vitals. In this article, you’ll learn how to detect and concretely fix render-blocking CSS and JS.

What are render-blocking resources

When a browser builds a page, it reads the HTML from top to bottom. When it encounters a CSS or JavaScript file in the head, it often stops rendering until that file has been fully downloaded and executed. CSS is almost always render-blocking, because the browser needs the complete stylesheet to draw elements correctly. JavaScript is also render-blocking, unless you mark it as async or defer.

The problem mainly arises with themes and plugins that load many separate CSS and JS files, or with external scripts such as ad networks and tracking tools that are loaded synchronously. Each additional file means an extra network request before the page becomes visible.

How to detect them

Use Google PageSpeed Insights, Lighthouse in Chrome DevTools, or GTmetrix to get a report. These tools explicitly show which files are flagged as render-blocking, including the file size and estimated time savings. In DevTools, you can also manually check the Network tab to see which CSS and JS files are loaded before the first render.

HTMLCSS blocksJS blocksPage visible

Solutions per resource type

For CSS, the rule is: only load the styles needed to directly display the visible part of the page (above the fold), and defer the rest using a loadCSS technique or media attributes. Combine multiple stylesheets into one file where possible to reduce the number of requests.

For JavaScript, add the defer or async attribute to script tags that aren’t directly needed for the first render. defer ensures the script is only executed after the HTML has been fully parsed, while async loads the script independently of HTML parsing. For tracking scripts and widgets, this is almost always safe.

Many of these optimizations can be automated with a caching or optimization plugin in your CMS, or set manually if you have access to your theme’s source code. On the server side, it also helps to have gzip or Brotli compression and HTTP/2 or HTTP/3 active, so multiple files can be fetched in parallel.

πŸ’‘ Tip: test again with Lighthouse after every change. Sometimes deferring a single script causes unexpected rendering issues, for example with a slider positioned above the fold.

Removing render-blocking resources step by step

1

Analyze your page

Run a Lighthouse report and note which CSS and JS files are flagged as render-blocking.

2

Determine critical CSS

Identify the styles needed for the visible part of the page and load only those inline or early in the head.

3

Defer non-critical CSS

Load remaining stylesheets asynchronously, for example by combining the media attribute with a small JavaScript snippet.

4

Add defer or async to scripts

Mark all non-essential JavaScript files so they don’t block HTML parsing.

5

Combine and minify files

Reduce the number of separate CSS and JS files and remove unnecessary whitespace and comments.

6

Check server settings

Make sure compression and modern protocols such as HTTP/2 or HTTP/3 are active. In Plesk, you can easily find these settings in your hosting package.

7

Retest and repeat

Run a speed test again and repeat the steps until the render-blocking warnings are resolved.

A fast server is the foundation for all these optimizations: the faster files are fetched, the less noticeable the remaining blocking resources become. Check out our web hosting with NVMe storage and LiteSpeed servers. If you also want to properly set up your business email alongside a fast website, take a look at business email.

Frequently Asked Questions

Is all CSS render-blocking?

By default, yes, unless you use the media attribute or an asynchronous loading technique to defer non-critical styles.

What’s the difference between async and defer?

Async loads and executes the script as soon as it’s available, independent of HTML parsing. Defer waits to execute until the entire HTML has been parsed, in the order the scripts appear.

Can I remove render-blocking resources without modifying code?

Yes, many CMS systems offer plugins or modules that generate critical CSS and automatically defer scripts, without requiring you to write code yourself.

Does this affect my Google ranking?

Indirectly, yes, because Core Web Vitals and load time factor into the assessment of user experience, which in turn affects search results.

Where can I find more help optimizing my site?

Check our knowledge base for more articles on speed and server configuration.

Conclusion

Removing render-blocking resources is about separating critical and non-critical CSS and JavaScript, correctly applying async and defer, and combining files where possible. Combined with a fast server and modern protocols, you ensure a noticeably faster and better-scoring website.

View web hosting β†’

Was dit artikel nuttig?