Skip to content

docker compose up extremely slow #2283

Answered by george-gca
czhang96 asked this question in Q&A
Discussion options

You must be logged in to vote

main.scss is basically where all the styling of the site is loaded, so it can't be ignored.

I have one idea: try changing how both the font awesome and tabler icons are loaded. Comment their lines on assets/css/main.scss and add their import via cdn on _includes/head.liquid. See if that helps.

When building the main.scss we basically import the whole font awesome and tabler icons. This is actually better for 2 reasons:

  • including files locally is faster than importing from a cdn
  • when building for deploy, after purgecss does its job, we are left with only the icons that were actually used, so a lot of the css related to these fonts are discarded.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pourmand1376
Comment options

@george-gca
Comment options

Answer selected by czhang96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants