Comments (3)
Sorry I need to change what I’m asking :) just to to be clear:
- I load the page and launch InstantPage in the most conservative version, the classic one that prefetches at MouseOver or TouchStart.
- We use an external library to detect if the user is not using a mouse (like on a mobile device or using a Microsoft surface using touch)
- We switch the data attribute on the body element, or we tell somehow InstantPage to enable the version which works with IntersectionObserver mimicking QuickLink
This request is because on full responsive websites we’d like to be able to use the more conservative behaviour on desktop, and the more aggressive one on mobile and all devices without a mouse.
from instant.page.
Currently data-instant-intensity="viewport"
preloads all visible links on small devices (phones) and use mouseover/touchstart for the rest.
I plan to introduce an option to preload visible links on every touch device, detected by the pointer media query. That would solve your request, right?
from instant.page.
Yes it would. Thanks
from instant.page.
Related Issues (20)
- Where to host instant page file for best performance? HOT 1
- intensity = "viewport" not working on Ajax Blog HOT 1
- Instant.page doesn't work well with Hugo HOT 3
- How to use in nuxtjs or vue? HOT 1
- The problem that the IDM download window automatically pops up
- Minification causes conflicts with other minified scripts HOT 3
- Report issues with Kimai timetracker
- Apache (WHM) + InstantPage extremely slow on mouseclick HOT 1
- Prefetch with fetchPriority=high on hover/touchstart
- prerender option HOT 2
- Browser extension? HOT 2
- How to get update notifications HOT 2
- Laravel Integration - Causes Links To Appear In Modal
- "Delay on hover" working in an unexpected way
- Don't do speculative loading on Incognito/Private window HOT 2
- FasterChrome equivalent for Firefox? HOT 1
- Not working for Wordpress i installed the plugin HOT 3
- Can you support CS-Cart HOT 2
- awesome idea, but it somehow breaks https connection
- How to check if it's being utilized HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instant.page.