The source project of this merge request has been removed.
Add caching
Running posthtml-sri
on multiple files with remote assets adds a lot of latency: it fetches the assets and computes the integrity values anew for each input file. This MR adds a cache
parameter. It also adds a fetch
parameter; I used it for testing, but it’s possible someone else might find a different use for it.