This demo uses network-idle-callback to only prefetch when network activity goes idle in the current tab.