Skip to content

Commit

Permalink
feat(gatsby): enable webpack caching in development for everyone (#32922
Browse files Browse the repository at this point in the history
)

In 3.12 we bumped this to 20% and there hasn't been a peep about trouble so let's enable it for everyone.
  • Loading branch information
KyleAMathews authored Aug 26, 2021
1 parent ac7bd4e commit aba5eba
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/gatsby/src/utils/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,7 @@ const activeFlags: Array<IFlag> = [
experimental: false,
description: `Enable webpack's persistent caching during development. Speeds up the start of the development server.`,
umbrellaIssue: `https://gatsby.dev/cache-clearing-feedback`,
testFitness: (): fitnessEnum => {
if (sampleSiteForExperiment(`DEV_WEBPACK_CACHE`, 20)) {
return `OPT_IN`
} else {
return true
}
},
testFitness: (): fitnessEnum => `LOCKED_IN`,
},
{
name: `PRESERVE_FILE_DOWNLOAD_CACHE`,
Expand Down

0 comments on commit aba5eba

Please # to comment.