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

Not working on Firefox or Safari, but Chrome is OK #14

Closed
adrianvanburen opened this issue Jun 2, 2022 · 5 comments
Closed

Not working on Firefox or Safari, but Chrome is OK #14

adrianvanburen opened this issue Jun 2, 2022 · 5 comments

Comments

@adrianvanburen
Copy link

This plugin does not work on Firefox or Safari, but does work for Chrome. Please see my website as an example:

https://www.lyka.stream/

safari

chrome

firefox

As you see, Chrome is the only one that prefetches. Do you know why this is? Is it possible to bring support to these other two browsers?

@gijo-varghese
Copy link
Owner

@adrianvanburen Preload is not supported in all browsers. You can check the support here: https://caniuse.com/link-rel-preload.

Chromium-based browsers are guaranteed to work.

@adrianvanburen
Copy link
Author

Both Firefox and Safari are supported, since 2021 & 2018. I'm running the latest version of the browsers, so I have compatibility.

I'm using Firefox version 101
Capture d’écran 2022-06-02 à 14 38 27

@gijo-varghese
Copy link
Owner

@adrianvanburen sorry, it's not preload, it's prefetch: https://caniuse.com/link-rel-prefetch

Safari is not supported. I think Firebox has disabled it by default. You might need to enable it.

@adrianvanburen
Copy link
Author

@gijo-varghese Thank you for the guidance. I confirm that is correct.

For those with the similar complaint, this is how to change the setting in Firefox:

  1. Open a tab, go to "about:config"
  2. Click beyond the warnings
  3. Search for the setting "network.prefetch-next" and set it to "true"

This plugin does now, indeed work, with this setting activated. Proof:
Capture d’écran 2022-06-04 à 00 32 29

@gijo-varghese
Copy link
Owner

@adrianvanburen great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants