docker compose up extremely slow #2283
-
On a fresh version of the repo,
If i add main.scss to the exludes, its much faster (but we lose all the styling) |
Beta Was this translation helpful? Give feedback.
Answered by
george-gca
Mar 16, 2024
Replies: 1 comment 2 replies
-
Are you using the slim version or the regular one? @pourmand1376 any ideas on this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: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.