Critical CSS? Not So Fast

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • critical

    Extract & Inline Critical-path CSS in HTML pages

  • I am a fan of CSSWizardry and yet I find this post misleading. The examples shown are ways NOT to do frontend performance engineering.

    The current best performant way to load JS is asynchronously as documented at https://web.dev/efficiently-load-third-party-javascript/.

    And the best way to load CSS is with Critical Path CSS + Async CSS as documented at https://web.dev/defer-non-critical-css/.

    The easiest way to generate Critical CSS is https://github.com/addyosmani/critical where you may suggest multiple resolutions.

    I have found https://github.com/addyosmani/critical-path-css-tools to be a great resource to master critical path CSS which improves page render speeds. It helps build fast rendering sites, sometimes even sub-second renders given you have a low latency backend.

  • critical-path-css-tools

    Tools to prioritize above-the-fold (critical-path) CSS

  • I am a fan of CSSWizardry and yet I find this post misleading. The examples shown are ways NOT to do frontend performance engineering.

    The current best performant way to load JS is asynchronously as documented at https://web.dev/efficiently-load-third-party-javascript/.

    And the best way to load CSS is with Critical Path CSS + Async CSS as documented at https://web.dev/defer-non-critical-css/.

    The easiest way to generate Critical CSS is https://github.com/addyosmani/critical where you may suggest multiple resolutions.

    I have found https://github.com/addyosmani/critical-path-css-tools to be a great resource to master critical path CSS which improves page render speeds. It helps build fast rendering sites, sometimes even sub-second renders given you have a low latency backend.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • critters

    🦔 A Webpack plugin to inline your critical CSS and lazy-load the rest.

  • I find critters[0] quite easy to work with and well worth implementing on my nextjs or Astro projects.

    I build a lot of landing pages so there are very few multi page visits.

    [0] https://github.com/GoogleChromeLabs/critters

  • styled-system

    ⬢ Style props for rapid UI development

  • I'm a huge fain of Tailwind but if you're using react you can also consider styled-system:

    https://styled-system.com

    It seems to have a lot of the benefits of Tailwind but better integration with Typescript.

  • penthouse

    Generate critical css for your web pages

  • It is easy with a little automation :). In the build process, adding a step to calculate critical path css helps. This should probably be the last step and run on production post deploy. The calculated CSS is stored in redis which will be appended in the head for subsequent requests. This tool had inspired me to build this process at multiple orgs I have worked with https://github.com/pocketjoso/penthouse.

    Agree on the async JS part but I guess browser makers will solve it soon.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Critical CSS and Next.js App Directory

    1 project | /r/nextjs | 26 Nov 2023
  • Remove CSS Styles and Apply Styles to All Elements

    1 project | /r/css | 7 May 2023
  • Optimizing CSS Performance in Nuxt with Critters

    2 projects | dev.to | 26 Dec 2022
  • SASS vs CSS Modules vs CSS-in-JS vs Compile time CSS-in-JS. Who wins?

    9 projects | dev.to | 11 Jan 2022
  • Instalación de Git en Linux Ubuntu

    1 project | dev.to | 22 Mar 2021