Grow your CSS skills. Land your dream job.

SASS/LESS slower than CSS ?

  • # December 29, 2012 at 3:12 pm

    Does the usage of LESS or SASS slows down a website? Or is the compiling such fast that you don’t notice the preprocessor?

    # December 29, 2012 at 3:38 pm

    If you use a pre-processor like Codekit you’re only loading regular CSS anyway. If you we’re doing the processing on the server then there would probably be a small overhead.

    # December 31, 2012 at 2:40 pm

    Yes it’s clear that it will only make a difference when it is processed on the server.

    # December 31, 2012 at 2:49 pm

    Yeah, I’d definitely recommend pre-processing – I’m not really sure there’s any real value in compiling for each user request, you’re just adding overhead and load time for no benefit.

    The only time it might be worthwhile is if customers are editing the code themselves, or if they’re selecting colour schemes manually.

    # January 1, 2013 at 11:12 am

    I am not pretty sure what context you are talking about because preprocessors except less are not used in live sites. Sass doesn’t have any overhead because it is not itself used in any website, what used is compiled normal css code. But when we talk about less, yes it has some impact on site performance, if you are not using compiled css the preprocessor have to process less stylesheet every time the user visits the site so it may cause some impact in slower machines.

    Hope this helps.

    # January 1, 2013 at 12:58 pm

    Thanks CssGenie, I always thought Sass would be preprocessed like Less.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".