lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

`Network.getResponseBody` errors with "Request content was evicted from inspector cache"

Open adamraine opened this issue 1 year ago • 2 comments

Ref https://github.com/GoogleChrome/lighthouse/issues/10876#issuecomment-1858335946

Happens on https://leverx.com/

adamraine avatar Dec 19 '23 17:12 adamraine

https://bugs.chromium.org/p/chromium/issues/detail?id=1513200

adamraine avatar Dec 19 '23 17:12 adamraine

So this appears to be WAI on the Chrome side but we can give ourselves more cache buffer wiggle room by dong await session.sendCommand('Network.enable', {maxResourceBufferSize: 20 * 1024 * 1024 });.

adamraine avatar Dec 21 '23 17:12 adamraine