Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Running lighthouse for cached pages #15544

Closed
chaitanya1248 opened this issue Oct 17, 2023 · 1 comment
Closed

Running lighthouse for cached pages #15544

chaitanya1248 opened this issue Oct 17, 2023 · 1 comment
Assignees

Comments

@chaitanya1248
Copy link

We use lighthouse in a MEAN stack app to record and store the performance metrics.

The ask is to compare the lighthouse performance of a page with cache and without cache.

We use puppeteer launcher and run the lighthouse.

Is there a recommended flow of running lighthouse to get performance comparision for a page with cache and without cache?

@connorjclark
Copy link
Collaborator

connorjclark commented Oct 17, 2023

You want the --disable-storage-reset / disableStorageReset setting. Run first without that, then again with that setting. You should use the same puppeteer instance so that the cache persists (when LH launches from the CLI, it uses a fresh profile, so no good).

@GoogleChrome GoogleChrome locked and limited conversation to collaborators Oct 17, 2023
@adamraine adamraine converted this issue into discussion #15545 Oct 17, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

4 participants