Don't clear downloaded files from createRemoteFileNode calls when we clear cache on package/code changes #31120
Unanswered
KyleAMathews
asked this question in
Ideas / Feature Requests
Replies: 2 comments
-
Old issues will be closed after 30 days of inactivity. This issue has been quiet for 20 days and is being marked as stale. Reply here or add the label "not stale" to keep this issue open! |
Beta Was this translation helpful? Give feedback.
0 replies
-
This issue is being closed due to inactivity. Is this a mistake? Please re-open this issue or create a new issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now we clear the entire
.cache
folder when gatsby-node.js changes or a user upgrades their packages. Which cause a lot of slowdowns on the next run ofgatsby develop
as then any plugins that pull remote files have to pull the same files again.We should start moving to more selective cache clearing and not clear data that we know is immutable.
Beta Was this translation helpful? Give feedback.
All reactions