How can I temporarily disable prefetching with nextjs for performance testing purposes so that I demonstrate the page load time reduction it delivers while browsing my site?
Prefetching can be disabled by bypassing the service worker using Chrome devtools. In Application > Service Workers, check Bypass for network as shown here:
Thanks @mark.brocato. That’s a great option for local testing, but what about for using services like webpagetest.org?
An internal ticket has been created to track this. Updates will be posted as soon as possible
Ticket #: XDN-7899