Render-blocking resources optimization for website

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Optimizing Render-Blocking Resources

Render-blocking resources are CSS and JS files that browser loads before first page render. Each such resource adds time to FCP (First Contentful Paint) and LCP.

What Blocks Rendering

CSS in <head> without media query blocks rendering entirely. Browser must build CSSOM before first render. JS without async/defer stops HTML parser. Google Fonts without preconnect add extra DNS lookup.

Working with CSS

Critical CSS — embed minimal necessary styles in <style> in head, main CSS loads asynchronously:

<style>/* critical inline styles */</style>
<link rel="preload" href="styles.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="styles.css"></noscript>

Tools for critical CSS generation: critical (npm), Critters (Webpack plugin, used by Next.js), penthouse.

For non-critical styles use media trick:

<link rel="stylesheet" href="print.css" media="print">
<link rel="stylesheet" href="large.css" media="(min-width: 1200px)">

CSS split by routes — Next.js and Nuxt do this automatically via code splitting. For raw Webpack configured via MiniCssExtractPlugin with chunkFilename.

Working with JavaScript

Attribute defer — script loads parallel, executes after HTML parsing. Attribute async — loads parallel, executes as soon as loaded (may break order).

<!-- Rule: everything non-critical for first screen — defer -->
<script src="analytics.js" defer></script>
<script src="chat-widget.js" async></script>

For modules (type="module") defer applies automatically.

Dynamic import for heavy components:

// React
const HeavyChart = lazy(() => import('./HeavyChart'))

// Vue
const HeavyChart = defineAsyncComponent(() => import('./HeavyChart.vue'))

Google Fonts and Third-Party Fonts

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- Self-hosting fonts eliminates problem entirely -->

Optimal solution — font-display: swap + self-hosted via fontsource or manually converted woff2.

Preload for LCP Resources

If LCP element is image or font discovered late:

<link rel="preload" as="image" href="/hero.webp" fetchpriority="high">
<link rel="preload" as="font" href="/fonts/inter.woff2" type="font/woff2" crossorigin>

Audit and Control

PageSpeed Insights and Lighthouse show list of blocking resources in "Eliminate render-blocking resources" section. Chrome DevTools → Performance → Waterfall shows exact chronology.

webpack-bundle-analyzer helps find what landed in initial chunk and should be extracted.

Typical Results

After optimization FCP drops 300–800ms on medium connections. LCP improves 15–30% with proper preload of critical resources.

Execution Time

Audit + setup critical CSS + defer/async for scripts — 1–2 business days. Full implementation with CSS split by routes — 3–5 days.