Flying Pages
Flying Pages prefetch pages before the user click on links, making them load instantly
Quick Links
- Demo: Open https://wpspeedmatters.com and click on any post
- WordPress Plugin
- Quicklink vs Instant page vs Flying Pages
- Join our Facebook Group, a community of WordPress speed enthusiasts
Usage
Quickstart:
<script src="flying-pages.min.js"></script>
With options:
<script>
window.FPConfig = {
delay: 0,
ignoreKeywords: [],
maxRPS: 3,
hoverDelay: 50,
};
</script>
<script defer src="flying-pages.min.js"></script>
-
delay
: Start prefetching after a delay (in seconds). Will be started when the browser becomes idle, usingrequestIdleCallback
. Default to 0. -
ignoreKeywords
: An array of keywords to ignore from prefetching. Example['/logout','/cart','about.html','sample.png','#']
. -
maxRPS
: Maximum requests per second the queue should process. Set to 0…