You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terminology: Intercept mechanism refers to the way in which a request is intercepted e.g. service worker or tag editing. Intercept handler refers to the piece of code which decides how an intercepted request should be handled.
To Do:
Add a folder for different implementations of intercept handlers (for right now it should only contain default.js)
Separate out the intercept handler from sw.js into default.js (service worker specific code should remain)
Replace the Planktos fetch interface with something that is agnostic to intercept mechanism (right now it accepts a FetchEvent)
Add a flag for selecting which intercept mechanisms to use
Add a build phase in the CLI that calls the tag editor
Inject the Planktos install script into every JS file during build phase
Previous Discussion in #53
Terminology: Intercept mechanism refers to the way in which a request is intercepted e.g. service worker or tag editing. Intercept handler refers to the piece of code which decides how an intercepted request should be handled.
To Do:
default.js
)sw.js
intodefault.js
(service worker specific code should remain)FetchEvent
)<audio>, <base>, <iframe>, <img>, <link>, <object>, <picture>, <source>, <track>, <video>
)The text was updated successfully, but these errors were encountered: