Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8981173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:16:03+00:00 2026-06-15T20:16:03+00:00

LESS compilation in my fresh Play 2 install is genuinely slow. Even after placing

  • 0

LESS compilation in my fresh Play 2 install is genuinely slow. Even after placing an ‘_’ on files that do not need direct compilation, a page refresh after a LESS edit takes ~8 seconds to complete. This is compared to a local compile using Codekit which takes less than a second.

Any suggestions on speeding up this process? Is it worth filing a bug against Play to have this looked at?

Here are details on my file sizes:
My LESS setup is very simple. _reset.less (.5k) _desktop.less (13k), _tablet.less (10k), _mobile.less (8k), _sprites.less (25k) files. An all.less (.3k) file that puts it all together. That’s it. The resulting css file is 53k.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:16:04+00:00Added an answer on June 15, 2026 at 8:16 pm

    I did a write-up of a small investigation into this problem. You can find it here.

    Bottom line: I get faster performance by switching to Sass. It’s not hard to do. Use the
    Play-Sass SBT plugin and, if you’re using Bootstrap, use the SASS Bootstrap files from the sass-twitter-bootstrap
    project.

    Precompiling your LESS files via the lessc command is another solution, and it’s quite fast.

    Assuming your project uses Bootstrap, using a precompiled Bootstrap, rather than the Bootstrap LESS files, is also a big win, because the Play LESS compiler recompiles all LESS files when one of them changes, and Bootstrap is rather large. But, for some of us, using a precompiled Bootstrap is inconvenient…

    Using Play 2.0’s Rhino-based, on-demand LESS compilation is the slowest option. Pig-slow, in fact. And ignore my comment about incrementalAssetsCompilation. It’s documented, but it does not appear to be in the 2.0.x code base.

    EDIT (22 May, 2013) Jonathan Parsons has put together a play-lessc plugin that uses the lessc command to compile LESS files. It can dramatically decrease LESS compilation times in a Play project. See https://github.com/jmparsons/play-lessc

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using client-side compilation for less, and if there are errors, Less is not
Since LESS is a pre-compile stylesheet language, this may not achieve what I'm after,
Out of nowhere, all of my stylesheets started throwing errors during compilation. lessc static/css/styles.less
I am looking for a way to compile CSS LESS files on the server
I redefined some maths functions (so that they're faster -ie: less accurate-, or use
Using fibonacci_heap results in a compilation error: struct Less: public binary_function<Node*, Node*, bool> {
The Less compilers that I'm using ( OrangeBits and dotless 1.3.0.5 ) are aggressively
Is it possible to make a static linking (compilation) on Gtk(mm) program? I need
The title more or less says it all. I create a widget, add it
I know more or less how to do this, but I think I'm getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.