Critical extracts & inlines critical-path (above-the-fold) CSS from HTML. Generate and inline critical-path CSS. Generate critical-path CSS. Generate and minify critical-path CSS. Generate, minify and inline critical-path CSS. Generate and return output via callback. Generate and return output via promise. When your site is adaptive and you want to deliver critical CSS for multiple screen resolutions this is a useful option. note, (your final output will be minified as to eliminate duplicate rule inclusion). Generate critical-path CSS with multiple resolutions. This is a useful option when you e.g. want to defer the loading of web fonts or background images. Generate critical-path CSS and specify asset rebase behavior. Inline critical-path CSS using filamentgroup's loadCSS. Pass an object to configure inline-critical.

Features

  • Gulp users should use Critical directly
  • For Webpack use html-critical-webpack-plugin
  • Optimize a basic page with Gulp with a tutorial
  • Optimize an Angular boilerplate with Gulp
  • Optimize a Weather app with Gulp
  • grunt-critical plugin

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML

License

Apache License V2.0

Follow Critical

Critical Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Critical!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML

Registered

2022-06-15