Today I Learned - Rocky Kev

Tagged “serviceworker”

  1. TIL loading third-party scripts onto service workers

    An alternative to self-hosting scripts would be using Service Workers to cache them. This can give you greater control over how often they are re-fetched from the network. This could also be used to create a loading strategy where requests for non-essential third parties are throttled until the page reaches a key user moment.

See all tags.