Preload on hover?

Ali GOREN on February 03, 2019

Hi. I wonder about the preload technique. For example, I have a code piece like below: const links = document.querySelectorAll('a') Array.fro... [Read Full]
markdown guide

You could check it in the Network-Tab in your DevTools. is using something similar. What you could do is to cache the results in an array, and on click replace the HTML of the page with the fetched one, which would give you kind-of-instant page-loads.


I checked now. Looks really useful. I should implement it. Thanks.


It can. This is one of the techniques Gatsby uses. You can read about the PRPL pattern and other performance techniques here,


I didn't use Gatsby before. I think The PRPL Pattern can help us in our project.

code of conduct - report abuse