Skip to content
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

K6 Browser adds no-cache headers #4165

Open
jgaalen opened this issue Jan 9, 2025 · 0 comments
Open

K6 Browser adds no-cache headers #4165

jgaalen opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels

Comments

@jgaalen
Copy link

jgaalen commented Jan 9, 2025

I've noticed the K6 Browser adds the no-cache headers to all requests, preventing the browser from using a cache. This means that subsequent actions/pages can't use the cache. The problem with this, is that objects are retrieved too many times and page load times aren't realistic.

When K6 Browser clicks around, it should not keep doing the same requests to the same objects, that makes no sense. I couldn't find a way to disable this way of 'disabling' the local cache. I thought every browser context has it's own context -> cache/cookies so I don't see a reason why cache should be disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants