I just published extract-html-class; get classes from a string of HTML. Next up: critical path CSS inline streamhttps://github.com/yoshuawuyts/extract-html-class …
-
-
Replying to @yoshuawuyts
I just published inline-critical-css, lil HTML stream that analyzes what CSS you're using, and inlines it for youhttps://github.com/yoshuawuyts/inline-critical-css …
2 replies 7 retweets 17 likes -
Replying to @yoshuawuyts
Also particularly pleased with my the filtering code. Uses a 3yo CSS parser that doesn't do anything fancy. It perf https://github.com/yoshuawuyts/inline-critical-css/blob/master/lib/filter.js …
1 reply 0 retweets 4 likes -
Replying to @yoshuawuyts
PR for critical CSS inlining is out for bankai; our zero-config compiler ain't doing too badly in lighthouse either https://github.com/choojs/bankai/pull/213 …pic.twitter.com/uLVZsBu0t2
2 replies 2 retweets 6 likes -
Replying to @yoshuawuyts
Next features for bankai are HTTPS/HTTP2 and then probably some tooling to generate projects. Should get us 100/100 across all categories
1 reply 1 retweet 5 likes -
Replying to @yoshuawuyts
Added a quick service worker & icon; think we can generate those. Not too far off now. Just need to add safe, responsible HTTP2
pic.twitter.com/B2A3RC3z5y
3 replies 0 retweets 13 likes -
Replying to @yoshuawuyts
How do you serve the additional service worker js-file with bankai?1 reply 0 retweets 0 likes -
Replying to @_fmer
By serving it as a regular asset. Think we might add worker generation to bankai out of the box tho
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts
Worker registration did not work for me serving it from /assets/sw.js had to be /sw.js. For now just modfied bin/start.js from bankai. Thx
1 reply 0 retweets 1 like
Oh yeah, so I hijacked the bankai source - this stuff is not open yet lol, tho a worker branch has been pushed - not even a PR yet
-
-
Replying to @yoshuawuyts
Just tried to build a pwa with choo in the last few hours and hit some problems
Just nosy. Thanks for clarification
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.