Package Exports
- @11ty/eleventy-cache-assets
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@11ty/eleventy-cache-assets) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eleventy-asset-cache Plugin
Cache remote assets, locally (automatically).
Features
Roadmap
- Add support for tiered asset requests, e.g. CSS requests background-images and web fonts, for example.
Open Questions
flat-cachesave method seems to be synchronous, is there a better async one?- Our cache stores raw buffers internally, which are pretty bloated compared to the original. Surely there is a more efficient way to do this. Maybe store the files in their original format.