Penthouse can be used in a wide variety of ways and will simplify the process of detecting Above the Fold CSS and then isolating it to its own file.
If you're not familiar with the concept, Above the Fold CSS is also known as critical path CSS and is the CSS code first needed to render the visible part of the page when it loads.
Since most CSS code is delivered in one single file, this CSS is loaded very late and the page render after a long wait.
A good practice is to isolate critical path CSS to its own file and load it first, or even add it as inline CSS to the current HTML page.
This speeds up the page and improves page speed and SEO metrics.
Penthouse is a Node.js JavaScript library for doing this, helping webmasters detect which of their page's CSS code is "Above the Fold" and save it in its separate file.
Developers can use Penthouse in a variety of ways, the library being usable:
- from the Node.js CLI
- as a Node.js module (programmatic library)
- as a Web-based tool
- as a Grunt automated task
- as a Gulp automated task
What is new in this release:
- Simple change to provide more information when PhantomJS fails to open an URL.
What is new in version 0.7.0:
- Simple change to provide more information when PhantomJS fails to open an URL.
What is new in version 0.3.6:
- Simple change to provide more information when PhantomJS fails to open an URL.
What is new in version 0.3.2:
- Simple change to provide more information when PhantomJS fails to open an URL.
What is new in version 0.3.1:
- Better internal code
- Better tests
- Removes print styles
What is new in version 0.3.0:
- Better internal code
- Better tests
- Removes print styles
What is new in version 0.2.53:
- Fixed bug from 2.52
- Improved tests
Requirements:
- Node.js
Comments not found