File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -111,16 +111,19 @@ module.exports = merge(commonConfig, {
111111 maximumFileSizeToCacheInBytes : 5242880 ,
112112
113113 runtimeCaching : [
114- {
115- urlPattern : / a p i \/ v 1 \/ s a n d b o x e s / ,
116- handler : 'networkFirst' ,
117- options : {
118- cache : {
119- maxEntries : 50 ,
120- name : 'sandboxes-cache' ,
121- } ,
122- } ,
123- } ,
114+ // Don't add this runtime cache as this causes us to give back *old*
115+ // API responses, this will lead people to believe that they lost work
116+ // when they can't connect to our servers.
117+ // {
118+ // urlPattern: /api\/v1\/sandboxes/,
119+ // handler: 'networkFirst',
120+ // options: {
121+ // cache: {
122+ // maxEntries: 50,
123+ // name: 'sandboxes-cache',
124+ // },
125+ // },
126+ // },
124127 {
125128 urlPattern : / ^ h t t p s : \/ \/ u n p k g \. c o m / ,
126129 handler : 'cacheFirst' ,
You can’t perform that action at this time.
0 commit comments