Added some time based cache bursting
This commit is contained in:
parent
54da46e8bf
commit
85598fda97
@ -11,7 +11,7 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
const CACHE_VERSION = { 'version': '0.0.906' };
|
||||
const CACHE_VERSION = { 'version': '0.0.907' };
|
||||
const PRECACHE = `jubileeData-${CACHE_VERSION.version}`;
|
||||
const RUNTIME = 'runtime';
|
||||
|
||||
@ -124,7 +124,7 @@ self.addEventListener('fetch', event => {
|
||||
);
|
||||
}*/
|
||||
|
||||
/*if (event.request.url.startsWith(self.location.origin)) {
|
||||
if (event.request.url.startsWith(self.location.origin)) {
|
||||
console.log('One of our requests..');
|
||||
|
||||
|
||||
@ -141,7 +141,7 @@ self.addEventListener('fetch', event => {
|
||||
});
|
||||
})
|
||||
);
|
||||
}*/
|
||||
}
|
||||
|
||||
if (event.request.url.startsWith('https://maps.googleapis.com')) {
|
||||
const url = new URL(event.request.url);
|
||||
|
Loading…
Reference in New Issue
Block a user