instantpage / instant.page

Make your site’s pages instant in 1 minute and improve your conversion rate by 1%
https://instant.page
MIT License
6.04k stars 205 forks source link

Pages being loaded a second time after click #4

Closed blogtutor closed 5 years ago

blogtutor commented 5 years ago

When I hover over a link, I can see it preloading the next page. However, after I click, the browser is loading the page again. Tested this in Chrome 71 and Firefox 65 with the same result.

Here's the network tab in Chrome, with "Preserve Log" enabled. The first row is from when I hovered (I was on one of the other pages of the site, and was headed back to the home page). The second row is what happened after I clicked.

image

So it seems that the page is preloading okay, but then the browser isn't actually utilizing it -- instead it's just loading again from scratch. ?

holdit commented 5 years ago

Can it be because you have "disable cache" enabled on dev tools?

blogtutor commented 5 years ago

Oh good grief! You're absolutely right! 🤦‍♂️

Thanks!