Compile SCSS to CSS - Forum | JoomShaper
Solved Helix Framework

Compile SCSS to CSS

Asked by Laurent 5 years ago Last activity 5 years ago

Hi,

I have a just a small question about Compile SCSS to CSS feature.
Is it necessary to use it if I did some modifications inside custom.css file?
is there any impact on website performances?
Because description says this "Turn off this option if your site is in production mode."
See here : http://prntscr.com/10yycsy

Thanks
L.

Accepted answer

Marked as the solution
Pavel

Hi Laurent. You just need to understand what this option does and then you can easily determine when you need to enable or disable it. This option binds css to template settings. If you disable this then things like color settings and others will not work. It is assumed that when development is complete this option should be disabled as no further changes are required. This will also protect the site from accidental changes to the settings.

13 more replies

Ofi Khan Staff

Hello Laurent

It is recommended because when your site is in production. Because it converts sass code to CSS. When you are in production, turning it off will make your site load faster and you will be able to see the change.

Best regards

Laurent Asked this

OK so this option has to be enabled only during development mode/process?

Laurent Asked this

OK so this option has to be enabled only during development mode/process?

Ofi Khan Staff

Enable this option when your site is ready to be live.

Laurent Asked this

ok but the tool tip says this : "Turn off this option if your site is in production mode."

I'm so sorry but I don't understand nothing :

  • template says to turn off in production/live mode
  • and you say the reverse

what's wrong?

Ofi Khan Staff

I am saying the same. Keep it off when your site is in production. Turn it on when your site is live.

Laurent Asked this

euhh for me, production and live are the same ;-)

  • dev mode : the website is under development, non available for end users
  • live / production mode = the website is finished and published on the web and available for end users

so based on that, when scss option has to be turned on and off?

Laurent Asked this

ok I see, so :

  • during development : option enabled
  • when site is finished : option disabled

last question : performances will be equal or better with option disabled?

Pavel

I have not tested. But no one bothers you to check. I don't use template settings at all and this option is always disabled. Since it is not possible to use several template styles with different settings. Therefore, I prefer css coding.

Laurent Asked this

I understand perfectly, thank you again for your feedback and your advice.
have a nice day
L.

Log in to reply.