All Projects → gijo-varghese → Flying Pages

gijo-varghese / Flying Pages

Licence: isc
Load inner pages instantly, intelligently

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Flying Pages

Quicklink
⚡️Faster subsequent page-loads by prefetching in-viewport links during idle time
Stars: ✭ 9,176 (+5329.59%)
Mutual labels:  performance, speed, web-performance
Prerender.js
Fast webpages for all browsers.
Stars: ✭ 411 (+143.2%)
Mutual labels:  performance, speed, web-performance
Awesome Pagespeed Metrics
⚡Metrics to help understand page speed and user experience
Stars: ✭ 585 (+246.15%)
Mutual labels:  performance, web-performance
Ngx Quicklink
Quicklink prefetching strategy for the Angular router
Stars: ✭ 586 (+246.75%)
Mutual labels:  performance, speed
Webpack.js.org
Repository for webpack documentation and more!
Stars: ✭ 2,049 (+1112.43%)
Mutual labels:  performance, web-performance
Fastify
Fast and low overhead web framework, for Node.js
Stars: ✭ 21,489 (+12615.38%)
Mutual labels:  performance, speed
Garie
Open source web performance
Stars: ✭ 484 (+186.39%)
Mutual labels:  performance, web-performance
Browser Perf
Performance Metrics for Web Browsers
Stars: ✭ 930 (+450.3%)
Mutual labels:  performance, web-performance
Perfume.js
Web performance library for measuring all User-centric performance metrics
Stars: ✭ 2,533 (+1398.82%)
Mutual labels:  performance, web-performance
React Pinpoint
An open source utility library for measuring React component render times.
Stars: ✭ 93 (-44.97%)
Mutual labels:  performance, speed
Foxify
The fast, easy to use & typescript ready web framework for Node.js
Stars: ✭ 138 (-18.34%)
Mutual labels:  performance, speed
wp-quicklink
The WordPress plugin for quicklink. ⚡️ Faster subsequent page-loads by prefetching in-viewport links during idle time.
Stars: ✭ 61 (-63.91%)
Mutual labels:  web-performance, speed
React Live Chat Loader
Implement a live chat beacon in your React application without performance regressions.
Stars: ✭ 145 (-14.2%)
Mutual labels:  performance, web-performance
Bloom
🌸 HTTP REST API caching middleware, to be used between load balancers and REST API workers.
Stars: ✭ 553 (+227.22%)
Mutual labels:  performance, speed
Api
Minimal, extremely fast, lightweight Ruby framework for HTTP APIs
Stars: ✭ 252 (+49.11%)
Mutual labels:  performance, speed
Guess
🔮 Libraries & tools for enabling Machine Learning driven user-experiences on the web
Stars: ✭ 6,762 (+3901.18%)
Mutual labels:  performance, web-performance
Performance Improvements For Woocommerce
Performance tweaks for the front-end and back-end of a store.
Stars: ✭ 46 (-72.78%)
Mutual labels:  performance, speed
Nemetric
前端性能指标的监控,采集以及上报。用于测量第一个dom生成的时间(FP/FCP/LCP)、用户最早可操作时间(fid|tti)和组件的生命周期性能,,网络状况以及资源大小等等。向监控后台报告实际用户测量值。
Stars: ✭ 145 (-14.2%)
Mutual labels:  performance, web-performance
Web Vitals Extension
A Chrome extension to measure essential metrics for a healthy site
Stars: ✭ 1,943 (+1049.7%)
Mutual labels:  performance, web-performance
Router
⚡️ A lightning fast HTTP router
Stars: ✭ 158 (-6.51%)
Mutual labels:  performance

Flying Pages

Flying Pages prefetch pages before the user click on links, making them load instantly

Quick Links

Buy Me A Coffee

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, using requestIdleCallback. 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 to process all requests immediately (without queue). Default to 3.
  • hoverDelay: Delay in prefetching links on mouse hover (in milliseconds). Default 50.

How it Works?

Flying Pages injects a tiny JavaScript code (1KB gzipped), waits until the browser becomes idle. Then it detects pages in the viewport and on mouse hover and prefetch them.

Flying Pages is intelligent to make sure prefetching doesn't crash your server or make it slow.

  • Prefetch pages in the viewport - Detect links within the viewport (current viewing area) using 'Intersection Observer' and tells the browser to prefetch them using 'prefetch', switch to xhr if not available (similar to Quicklink).

  • Prefetch pages on mouse hover - On hovering links, if it's not prefetched yet using above 'viewport', then Flying Pages will prefetch them instantly (similar to Instant page).

  • Limits the number of prefetch per second - If your page has too many links, prefetching all at the same time will cause the server to crash or slow down the website to visitors. Flying Pages limits the number of prefetchs per second (3 req/sec by default) using an in-built queue. For example, if you've 10 links in the viewport, prefetching all these are span into 4 seconds.

  • Stops prefetching if the server is busy - In case the server starts to respond slowly or return errors, prefetching will be stopped to reduce the server load.

  • Understands user's connection and preferences - Checks if the user is on a slow connection like 2G or has enabled data-saver. Flying Pages won't prefetch anything in this case.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].