Disable browser cache when navigating to a Page

368 views
Skip to first unread message

jala...@gmail.com

unread,
Jun 10, 2017, 10:50:14 AM6/10/17
to headless-dev
I am running headless chrome and looking at the Network events to measure site performance. I was wondering whether there was a way to disable the browser cache so that i don't get any Network.requestServedFromCache events when i navigate to a page.

cheers
</jima>


Zoe

unread,
Jun 12, 2017, 12:37:11 PM6/12/17
to headless-dev, jala...@gmail.com
Have you tried the setCacheDisabled devtools command?

John Baumbach

unread,
Jun 25, 2017, 7:00:12 PM6/25/17
to headless-dev, jala...@gmail.com
That did the trick - thanks.
Reply all
Reply to author
Forward
0 new messages