Skip to main content
Wright Websites

render-pulse

find render-blocking resources

Find render-blocking resources in a built static site: head scripts without defer/async, heavy blocking CSS, @import chains, third-party blocking resources without preconnect, document.write.

  • 8/week on npm
  • 2★
  • MIT
  • v1.0.0
  • Web Performance
npx render-pulse

Read the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)

render-pulse

From the README

Nothing is painted until the browser has downloaded and parsed every render-blocking stylesheet and synchronous script in . One forgotten without defer, a 200 kB framework stylesheet or an @import chain can add seconds to First Contentful Paint and LCP on mobile. render-pulse reads your static build output, works out which resources are actually on the critical path (respecting defer, async, type=module, media, disabled and alternate stylesheets) and reports each one with a concrete fix.

npx render-pulse dist
npx render-pulse public --max-css-kb 30 --fail-on medium
npx render-pulse _site --format sarif > render.sarif

Related packages

Web Performance