Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari support through fallback? #62

Open
verlok opened this issue Jan 31, 2020 · 7 comments
Open

Safari support through fallback? #62

verlok opened this issue Jan 31, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@verlok
Copy link

verlok commented Jan 31, 2020

On https://instant.page/tech I see

Incompatible browsers
Safari 13.0 has support for <link rel="prefetch"> but it’s disabled by default. Hopefully it will be enabled in March.

Is that still true?

@verlok
Copy link
Author

verlok commented Jan 31, 2020

And with "March" you intend March of which year?

@verlok
Copy link
Author

verlok commented Jan 31, 2020

I can see from here it's true https://caniuse.com/#feat=link-rel-prefetch
So you mean that instant page doesn't have any effect on Safari?

@dieulot
Copy link
Member

dieulot commented Feb 1, 2020

March of this year. Though it’s February and Apple has yet to enable it by default. Maybe for September then…

In the mean time I plan to make a reboot of InstantClick renamed “instant.page extra” that will work in Safari starting from 12.1.

@dieulot dieulot closed this as completed Feb 1, 2020
@verlok
Copy link
Author

verlok commented Feb 3, 2020

I’m getting confused with all of those names and versions. Now I’m thinking to use QuickLink but only on the mobile version of the websites.

I liked the idea behind InstantPage v3. Why don’t you make only one script (meaning name it in a single way) that works everywhere?

@dieulot
Copy link
Member

dieulot commented Feb 5, 2020

instant.page’s way of preloading doesn’t work in Safari. InstantClick’s way of preloading works nearly everywhere but it transforms a site into an SPA, so it needs additional work to function correctly. quicklink’s way of preloading in Safari doesn’t work if you don’t have cache headers, most pages don’t have those so I don’t include a fallback like they do.

@verlok
Copy link
Author

verlok commented Feb 6, 2020

We have cache headers and the vast majority of our user base is on Safari, so using QuickLink on mobile is probably a good idea. Thanks

@dieulot dieulot changed the title Safari support for v3? Safari support through fallback? Apr 18, 2023
@dieulot dieulot added the enhancement New feature or request label Apr 18, 2023
@dieulot
Copy link
Member

dieulot commented Apr 18, 2023

Given that Safari still doesn’t ship prefetch by default, I plan to reevaluate the fallback options for it.

@dieulot dieulot reopened this Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants