Skip to content

Commit 836271a

Browse files
authored
core(lr): disable bf-cache (#14774)
1 parent 106a963 commit 836271a

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

core/config/lr-desktop-config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ const config = {
1616
throttling: constants.throttling.desktopDense4G,
1717
screenEmulation: constants.screenEmulationMetrics.desktop,
1818
emulatedUserAgent: constants.userAgents.desktop,
19-
// Skip the h2 audit so it doesn't lie to us. See https://github.com/GoogleChrome/lighthouse/issues/6539
20-
skipAudits: ['uses-http2'],
19+
skipAudits: [
20+
// Skip the h2 audit so it doesn't lie to us. See https://github.com/GoogleChrome/lighthouse/issues/6539
21+
'uses-http2',
22+
// There are always bf-cache failures when testing in headless. Reenable when headless can give us realistic bf-cache insights.
23+
'bf-cache',
24+
],
2125
},
2226
};
2327

core/config/lr-mobile-config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ const config = {
1010
settings: {
1111
maxWaitForFcp: 15 * 1000,
1212
maxWaitForLoad: 35 * 1000,
13-
// lighthouse:default is mobile by default
14-
// Skip the h2 audit so it doesn't lie to us. See https://github.com/GoogleChrome/lighthouse/issues/6539
15-
skipAudits: ['uses-http2'],
13+
skipAudits: [
14+
// Skip the h2 audit so it doesn't lie to us. See https://github.com/GoogleChrome/lighthouse/issues/6539
15+
'uses-http2',
16+
// There are always bf-cache failures when testing in headless. Reenable when headless can give us realistic bf-cache insights.
17+
'bf-cache',
18+
],
1619
},
1720
audits: [
1821
'metrics/first-contentful-paint-3g',

0 commit comments

Comments
 (0)