digitalsparky / jekyll-minifier

Jekyll HTML/XML/CSS/JS Minifier utilising yui-compressor, and htmlcompressor
GNU General Public License v3.0
245 stars 25 forks source link

Speeding up the wrapper #38

Open kenman345 opened 6 years ago

kenman345 commented 6 years ago

since Jekyll-minifier is a wrapper, I was wondering if perhaps we can use memo-ization or something to store the instances of the three compressors and use those each time instead of it making a new instance each file. This could speed processing time for the exclusion list and the larger sites utilizing this plugin

domeniko-gentner commented 5 years ago

I agree. My site isn't even that big and it does take quite a while to process. Granted, I am running it on a Pi, but it takes roundabout 5 minutes to build my web.