A Service Worker installs/updates and refreshes the page. It then intercepts "sw-image.svg" img URLs and dynamicaly responds with a static base64 image using the methods below. A bug occurs when in Firefox 59 when URLs contain a fragment value and SW responds with new Response() constructor