Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve eleventy local images to save to IPFS #43

Open
bmann opened this issue Jul 13, 2021 · 0 comments
Open

Improve eleventy local images to save to IPFS #43

bmann opened this issue Jul 13, 2021 · 0 comments

Comments

@bmann
Copy link
Member

bmann commented Jul 13, 2021

I forked to https://github.com/fission-suite/eleventy-plugin-local-images which is supposed to check if the file is already "local".

It uses a hashing function, so ideally we should make this "cache" to the IPFS version of this image, and replace file paths with either relative paths, OR with configurable gateway path.

Most time in build is spent fetching images. See:

Screen Shot 2021-07-12 at 5 59 48 PM

This is probably a longer item, and in fact, improving / fixing the Ghost IPFS plugin we made so that full paths are on IPFS gateway would mean no copying if gateway detected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant