Skip to content

Commit

Permalink
Editor: Implement cache per update
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Mar 23, 2021
1 parent 90e97b5 commit 412b99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// r126.1
const cacheName = 'threejs-editor-r126';

const assets = [
'./',
Expand Down Expand Up @@ -214,7 +214,7 @@ const assets = [

self.addEventListener( 'install', async function () {

const cache = await caches.open( 'threejs-editor' );
const cache = await caches.open( cacheName );

assets.forEach( function ( asset ) {

Expand Down

0 comments on commit 412b99a

Please sign in to comment.