|
|
|
|
|
by runnr_az
2722 days ago
|
|
Right now, this is more of a proof of concept than anything... I wanted to see if it's really possible to use Puppeteer like this to capture CSS usage, get some real user feedback on how to proceed. Totally open to suggestions. I guess in a perfect world, you could eventually use this to totally capture all of the CSS you use on a single page and reduce it if you were just doing a single launch-type page and working with Bootstrap. In more complicated cases, the goal is to provide just the basic CSS your site needs to render quickly, then allow you to defer the rest. The next thing on my ToDo list is to try to capture CSS usage at all the standard breakpoints and combine that into a single "critical path" css file |
|