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-sharp): add output file cache back for non job api #20905

Merged
merged 1 commit into from
Jan 27, 2020

Conversation

wardpeet
Copy link
Contributor

Description

When testing @pieh's progress bar fix for image-sharp I noticed that we still rebuild some images on the old gatsby versions. I removed it from my refactor as I think it's bad behavior of the plugin to only check if it exists and not the hash of the file content.

This brings it back to have the same behavior as before. If people want better caching they'll need to upgrade gatsby.

@wardpeet wardpeet requested a review from a team as a code owner January 27, 2020 13:53
Copy link
Contributor

@pieh pieh left a comment

Choose a reason for hiding this comment

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

Let's restore this - as you mentioned not ideal, but this was pre jobs v2 behaviour and we should keep it

@pieh pieh added the bot: merge on green Gatsbot will merge these PRs automatically when all tests passes label Jan 27, 2020
@gatsbybot gatsbybot merged commit 64a5399 into gatsbyjs:master Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: merge on green Gatsbot will merge these PRs automatically when all tests passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants