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(gatsby-plugin-image): Ensure cache hash is unique #37087

Merged
merged 3 commits into from Nov 29, 2022

Conversation

LekoArts
Copy link
Contributor

@LekoArts LekoArts commented Nov 23, 2022

Description

Add the filename to the object that is hashed inside murmurhash. This way the hash is unique even when the <StaticImage> props are identical.

Related Issues

Fixes #36809

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Nov 23, 2022
@LekoArts LekoArts added topic: media Related to gatsby-plugin-image, or general image/media processing topics and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: media Related to gatsby-plugin-image, or general image/media processing topics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[gatsby-plugin-image] StaticImage "src" refers to an image with the same filename in another directory.
2 participants