jonkemp / gulp-useref

Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
MIT License
705 stars 93 forks source link

cache files? #217

Closed dsozzi closed 7 years ago

dsozzi commented 7 years ago

Hi,

I'm using useref on multiple pages and all have the same lib tag where I include all js libraries. I also minify all resources each time but after the first time, the lib.js file is already prepared and I don't want to keep working on the same js files.

Is it possible to use the cached files instead of building a js file for each html file?

thanks

jonkemp commented 7 years ago

You could try gulp-cached.

dsozzi commented 7 years ago

Wow thanks a lot again. There are too many modules to choose from and I really don't know which one is correct for my needs.

Thanks again!