penthouse

Generate critical css for your web pages

MIT License

Downloads
138.5K
Stars
2.6K
Committers
34

Bot releases are hidden (Show)

penthouse - 0.11.6 - perf improvements

Published by pocketjoso about 7 years ago

Patches

  • Dont query dom for html and body selectors: c8ac131860acfdf58df46bd60aedf40163b3b116
  • Cache isAboveFold computations per element: 34c9ba8c62c4ec29985761b5a125319bdeb1fd66
penthouse - 0.11.5 - 0.11.0: minor patch releases

Published by pocketjoso over 7 years ago

Most noteworthy:

  • fix a bug that made @font-face rules that should have been kept be removed in some cases.
penthouse - 0.11.0 - Promise support, internal code refresh

Published by pocketjoso over 7 years ago

Most code changes, including Promise support coming from:

  • Merge pull request #161 from pocketjoso/code-refresh: e08c8fd0c1c5d055cb8e9b1201270e766d871792

Bumped minimum required node version to 4.2:

  • Transpile to extend support to Node 4.2: 9b847d0147c1324d756492cbed3a7d93db246f57
penthouse - 0.10.9

Published by pocketjoso almost 8 years ago

Patches

  • Merge pull request #151 from simllll/master: 606793576d8658716b50d7c5ec0703ca55d50b1f
  • Support customPageHeaders: 1083938a265053923c7122e1ffd57a7314636ef9
penthouse - 0.10.8

Published by pocketjoso almost 8 years ago

Patches

  • Keep :first-letter and :first-line in critical styles: d2e97712ca4a8f02903e1914c3d9eedce59d1739
penthouse - 0.10.7

Published by pocketjoso almost 8 years ago

Patches

  • Cleanup generated file on disk: e366650b5cb776f00806fb0897e9216687110cce
  • More accurate dev logging of forced kept fixed position style: 9a2969b9232cfbb18d0bc89bccb6d8a184aa144f
penthouse - 0.10.6

Published by pocketjoso almost 8 years ago

Patches

  • More context in error message: 0e6db5d57ef990dd31a5a9e0021cdc059a2452d6
  • Comment on why removePhantomJSSecurityErrors function: 61036fc11fe739d04ee9c1b44ce3f88363de4ee1
  • Force keep fixed position styles: 62b3f2b645232d22aaaf0c8fec639d6b4aa0508f
penthouse - 0.10.5

Published by pocketjoso almost 8 years ago

Patches

  • Improve debugging: 0703d8a84556f016f39f7c9ff22a8a4d288c936e
penthouse - 0.10.4 - keep :visited class in critical css

Published by pocketjoso almost 8 years ago

Resolves #149.

penthouse - 0.10.3 - 0.10.1 Smaller fixes

Published by pocketjoso almost 8 years ago

Option to not block JS requests:
https://github.com/pocketjoso/penthouse/pull/139

Fix Windows issue for requiring fork of CSS package:
https://github.com/pocketjoso/penthouse/pull/141

Ensure config.json gets downloaded with Penthouse; should resolve some minor SSL issues.
https://github.com/pocketjoso/penthouse/pull/144

penthouse - 0.10.0 - Fix bug breaking @font-face in normalized css

Published by pocketjoso about 8 years ago

See #138 for details - only applies to invalid css that couldn't be parsed for AST.

penthouse - 0.9.14 - Support non-ASCII in URL

Published by pocketjoso about 8 years ago

Fixes a bug where Penthouse would yield an error like Error opening url 'http:/???????-??.??': Host not found for URLs containing non-ASCII characters.

penthouse - 0.9.13 - minor cleanup

Published by pocketjoso about 8 years ago

Thanks @XhmikosR!

Release commits

penthouse - 0.9.12 - Fix window /tmp dir bug

Published by pocketjoso about 8 years ago

See #129.

penthouse - 0.9.11 - handle extra invalid closing braces in css

Published by pocketjoso about 8 years ago

Previously extra closing braces (}) in the css could yield incorrect critical css - see #127 for details.
This release also moved around quite a lot of code in the code base, however this should not effect end users.

penthouse - 0.9.10 - keep critical animation and @Keyframe styles

Published by pocketjoso over 8 years ago

Previously all animation declarations and all @keyframe rules were removed. As raised in #122, this could cause some flickering for on load @keyframe animations. Penthouse now only removes @keyframes that aren't used in the critical css.

penthouse - v0.9.9 - keep @media all {} contents

Published by pocketjoso over 8 years ago

Fixes a bug which lead to @media all {} rules (without any further expressions) being removed from critical css:
https://github.com/pocketjoso/penthouse/commit/0eea1304fd85d214815acd5f10424bdc43491eae.

penthouse - v0.9.7 - Fix missing iconfont icons when css is invalid

Published by pocketjoso over 8 years ago

See #120 for details.

penthouse - v.0.9.1 - v0.9.6 - more options, performance and debugging

Published by pocketjoso over 8 years ago

This release covers [email protected] to [email protected].

0.9.6

0.9.5

0.9.3

0.9.2

0.9.1

penthouse - v0.9.0 - PhantomJS 2

Published by pocketjoso over 8 years ago

Finally landed now that phantomjs 2 supports Linux as well!

Package Rankings
Top 1.1% on Npmjs.org
Top 6.75% on Proxy.golang.org
Badges
Extracted from project README
NPM version Build Status Downloads
Related Projects