Comments (7)
Hi @jerodev,
I see your point.
Can we imagine manually whitelist some external links as we do for query strings?
from instant.page.
I’m open to it. quicklink’s readme states that cross-origin requests might bring CORB and CORS issues but in my experience they just work. This might be about quicklink’s fallback to Ajax.
I’ve asked quicklink’s Addy Osmani about it on Twitter. If I hear back positively (or don’t hear back) support for external links will be implemented, probably enabled with an attribute such as data-instant-allow-external-links
on the <body>.
from instant.page.
This would be especially useful for websites broken down into sub-domains (eg. links to signup.example.com
instead of example.com/signup
).
from instant.page.
Okay, this is in. v1.2.0 will let you allow external links with an data-instant-allow-external-links
attribute on the <body> or with a data-instant
attribute on the link.
from instant.page.
I suppose this is because the project is meant to speed up your own website and not external websites.
However, I do see why this might be useful in some cases.
It would be great if this would be configurable, but then again you would need a config and it would no longer be possible to have this functionality by just including a script tag.
from instant.page.
Also websites might lose visitors when an external website takes too long to load.
from instant.page.
Great @dieulot ! 👍
I have updated my pull request according to your implementation.
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
- 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.