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

fix(shortcodes/image): explicit disable useCache #33

Merged
merged 1 commit into from
May 17, 2024

Conversation

dnnsjrng
Copy link
Member

@dnnsjrng dnnsjrng commented Jun 27, 2022

To avoid any caching problems the useCache is disabled explicit. Solves #32

Watchout: This is just a temp solutions and must be refactored after the shortcodes cleanup currently in the making.

@dnnsjrng dnnsjrng added the bug Something isn't working label Jun 27, 2022
@dnnsjrng dnnsjrng requested a review from mvsde June 27, 2022 17:52
@dnnsjrng dnnsjrng self-assigned this Jun 27, 2022
Copy link
Member

@mvsde mvsde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the future, useCache: false should again be removed so eleventy-img can use the image cache again.

This is especially important for webp and AVIF because their encoders are a lot slower than JPEG. Fun fact: when I delete the image cache for my personal website it takes ~5 minutes to regenerate 265 images.

@mgrsskls
Copy link
Member

@mvsde @dnnsjrng Do you know why this is not merged and released when it's approved? :D

@mvsde
Copy link
Member

mvsde commented May 17, 2024

Do you know why this is not merged

@mgrsskls I would attribute this to lack of time. You can go ahead and merge this.

Things will probably change anyway when we upgrade to Eleventy Image v4 with its new zero configuration shortcode-less image handling.

@mgrsskls mgrsskls merged commit ccaab84 into main May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

None yet

3 participants