• Resolved janh2

    (@janh2)


    I have a section (“/important/”) that I absolutely do not want interfered with, what’s the recommended way to handle that? Please forgive me if that has an obvious solution, I’ve never worked with service-workers (and this plugin) before.

    I saw that the default route is being registered with /.*/, but I don’t see an obvious way to change this without duplicating the code.
    Would I register an additional route to match my special URL prefix and then add a handler that would simply not try to cache, but always run a fetch? Or is there a way to register a route that would be excluded?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Excluding URL-prefixes from SW-treatment’ is closed to new replies.