I am currently attempting to us astro-embed for a website, build using Nix.
As Nix runs the build process in a sandbox, astro-embed fails to perform network requests.
Would it be somehow be possible to cache and embed those network requests in a separate file into the project directory?
I see several advantages for such a caching mechanism:
- Enables reproducible builds of Astro websites which embed external content
- Enables Nix builds of Astro websites
- Improves resiliancy against remote websites, tweets, or other resources vanishing and future astro-embed requests to fail.
I am currently attempting to us astro-embed for a website, build using Nix.
As Nix runs the build process in a sandbox, astro-embed fails to perform network requests.
Would it be somehow be possible to cache and embed those network requests in a separate file into the project directory?
I see several advantages for such a caching mechanism: