Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support tunetheweb

    (@tunetheweb)

    Firefox supports the older <link rel="prefetch"> resource hint, but not the newer Speculation Rules API. The new API includes many benefits over <link rel="prefetch"> including:

    • Full prerender as well as prefetch
    • Automatic link finding
    • Different eagerness levels
    • Better DevTools support
    • More consistent behaviour (particular with cross-origin prefetching/prerendering).

    It is no longer recommended to use <link rel=prefetch> for navigation prefetches, and instead to use the new Speculation Rules API for this, and to only use <link rel=prefetch> for subresources.

    However, we have asked Firefox’s position on this new API and they are positive on it, so hopefully that means support will come to Firefox at some point, at which point this plugin should support it.

    Thread Starter Josh Journey

    (@ljosh)

    @tunetheweb Thank you so much for the detailed explanation, evaluation and creating a Github post! I’m very pleased to hear there is interest from Mozilla to support the newer Speculation Rules API. I’m a huge fan of FireFox so this will be a lovely treat. ??

    Warm regards,
    Josh

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.