Comments (2)
Not currently. You could disable and enable the plugin itself, but that'd also disable hover preloading. I do like the idea of considering network conditions, but I remember it being somewhat difficult to find out what network type the user is on. Feel free to create a PR if you can think of an elegant solution :)
from preload-plugin.
I'll close this for now as we're currently not planning on creating separate options for the different preload types. Happy to accept a PR, though.
from preload-plugin.
Related Issues (20)
- `options.preloadVisibleLinks.enabled` not being applied automatically HOT 1
- Links with identical `href` will remove urls from `preloadVisibleLinks` queue even if these should actually be preloaded. HOT 1
- Preload stylesheets
- `options.preloadHoveredLinks` incorrectly set up HOT 4
- [Bug]: External links are not being properly ignored on hover HOT 5
- Detect network idle time for preloading? HOT 8
- Prepare for new `shouldIgnoreVisit()` in swup@3
- Optimize the preload mechanism on desktop and mobile HOT 1
- `mouseover` is triggered multiple times on links with complex (nested) markup HOT 9
- Allow marking parent container to preload all children HOT 1
- Remove duplicated logic for handling fetch response HOT 1
- 'pagePreloaded' event doesn't pass any arguments HOT 2
- Priority queue
- Feature: preload links in viewport
- Feature: preload links on focus
- Possibility to ignore a certain link? HOT 1
- dist/index.module.js is missing HOT 2
- Bundling error with webpack
- requestIdleCallback not available in Safari HOT 2
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 preload-plugin.