workbox-navigation-preload

    Summary

    Methods

    disable

    workbox-navigation-preload.disable()

    If the browser supports Navigation Preload, then this will disable it.

    enable

    workbox-navigation-preload.enable(
      headerValue?: string,
    )

    If the browser supports Navigation Preload, then this will enable it.

    Parameters

    • headerValue

      string optional

    isSupported

    workbox-navigation-preload.isSupported()

    Returns

    • boolean

      Whether or not the current browser supports enabling navigation preload.

    This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.