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
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
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