Commit 8079ed31 authored by Michał "rysiek" Woźniak's avatar Michał "rysiek" Woźniak
Browse files

WIP: let's see if background fetch in service workers works (ref: #17)

parent e331d8b0
Pipeline #1960 passed with stage
in 23 seconds
......@@ -251,7 +251,8 @@ let getResourceThroughSamizdat = (url, useStashed=true, doStash=true) => {
// since we got the data from a stashing plugin,
// let's run the rest of plugins in the background to check if we can get a fresher resource
// and stash it in cache for later use
//getResourceThroughSamizdat(url, false, true)
console.log('(COMMIT_UNKNOWN) starting background no-stashed fetch for:', url);
getResourceThroughSamizdat(url, false, true)
// return the response so that stuff can keep happening
return response
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment