News for hackers. Stuff that matters.
Re:My intro to LESS - If you're not using it, you should be. by nhebb on Monday September 03, 2012 @12:59AM (#4469152)
> It’s also extremely important to not keep your less.js file operating during production mode.

I'm curious about this. Is it more than just a minor performance hit?

Re:My intro to LESS - If you're not using it, you should be. by skrebbel on Monday September 03, 2012 @02:24AM (#4469317)
That depends entirely on what you call minor. A lot of people on HN think that it's absolutely essential that a page loads and responds within a few milliseconds, because somehow subconsciously to users, it will make the site feel snappier, and thus better, and thus more worth paying for / sticking around on.

Compiling and running LESS on the fly in production might, besides the extended load time, increase the chances for a flash of unstyled content. If this makes you nervous, don't run LESS on the fly in production.

Re:My intro to LESS - If you're not using it, you should be. by hackmiester on Monday September 03, 2012 @05:24AM (#4469750)
Not to mention if you run it on the fly, the "flash" of unstyled content will last forever for people with JavaScript disabled!