SomMeri / less4j

Less language is an extension of css and less4j compiles it into regular css. Less adds several dynamic features into css: variables, expressions, nested rules, and so on. Less was designed to be compatible with css and any correct css file is also correct less file.
145 stars 47 forks source link

Don't fetch content if AST is already in cache #330

Closed EXPEphall closed 8 years ago

EXPEphall commented 8 years ago

My build imports the same URL into many files (using a custom LessSource). Deferring calling source.getContent() until after the load from astCache halves my build time.

SomMeri commented 8 years ago

Thank you. I will have a look on this after I fix #329 and other bug in less.js I need to do.