Search the Community
Showing results for tags 'critical'.
-
I'm working on a site that uses the front-end tooling set-up from https://github.com/nystudio107/craft It uses package.json for defining all the Gulp plugins and paths as described in https://nystudio107.com/blog/a-better-package-json-for-the-frontend I've been able to convert it for use with my Processwire project but I'm a bit confused about how the Critical CSS part works and how to map URLs to templates. I've also found https://processwire-recipes.com/recipes/inline-critical-css/ which uses Grunt but again, it's not clear to me how it handles all the templates. Has anyone got a similar set up working and would you be able to share your package.json or gulpfile?
-
Has any one used this tool before to extract out their critical path css? https://github.com/addyosmani/critical If so, I was wondering how did you get it to work in relation to a PW site? If for example you wanted to optimize the Homepage, is it matter a saving the (generated) html file from the browser and putting it on /site/templates/ and calling the critical exe with the correct parameters?
- 1 reply
-
- critical
- inline css
-
(and 3 more)
Tagged with: