@@ -282,10 +282,29 @@ Object {
282
282
" sourceDir" : " ../.tmp/advanced" ,
283
283
},
284
284
" workbox" : Object {
285
+ " _runtimeCaching" : Array [
286
+ Object {
287
+ " handler" : " cacheFirst" ,
288
+ " method" : " GET" ,
289
+ " urlPattern" : " /static/(?!content).*$" ,
290
+ },
291
+ ],
285
292
" cacheId" : " title" ,
286
293
" globDirectory" : " ../.tmp/advanced/.statusfy/dist/client" ,
287
294
" offlinePage" : " /offline" ,
288
295
" publicPath" : " /static/" ,
296
+ " runtimeCaching" : Array [
297
+ Object {
298
+ " strategyOptions" : Object {
299
+ " cacheExpiration" : Object {
300
+ " maxAgeSeconds" : 300 ,
301
+ " maxEntries" : 10 ,
302
+ },
303
+ " cacheName" : " title_title_title_api" ,
304
+ },
305
+ " urlPattern" : " (/static/content)?/api/v1/.*" ,
306
+ },
307
+ ],
289
308
},
290
309
}
291
310
` ;
@@ -495,10 +514,29 @@ Object {
495
514
" sourceDir" : " ../.tmp/cli" ,
496
515
},
497
516
" workbox" : Object {
517
+ " _runtimeCaching" : Array [
518
+ Object {
519
+ " handler" : " cacheFirst" ,
520
+ " method" : " GET" ,
521
+ " urlPattern" : " /static/(?!content).*$" ,
522
+ },
523
+ ],
498
524
" cacheId" : " title" ,
499
525
" globDirectory" : " ../.tmp/cli/.statusfy/dist/client" ,
500
526
" offlinePage" : " /offline" ,
501
527
" publicPath" : " /static/" ,
528
+ " runtimeCaching" : Array [
529
+ Object {
530
+ " strategyOptions" : Object {
531
+ " cacheExpiration" : Object {
532
+ " maxAgeSeconds" : 300 ,
533
+ " maxEntries" : 10 ,
534
+ },
535
+ " cacheName" : " title_title_api" ,
536
+ },
537
+ " urlPattern" : " (/static/content)?/api/v1/.*" ,
538
+ },
539
+ ],
502
540
},
503
541
}
504
542
` ;
@@ -695,10 +733,29 @@ Object {
695
733
" sourceDir" : " ../.tmp/simple" ,
696
734
},
697
735
" workbox" : Object {
736
+ " _runtimeCaching" : Array [
737
+ Object {
738
+ " handler" : " cacheFirst" ,
739
+ " method" : " GET" ,
740
+ " urlPattern" : " /static/(?!content).*$" ,
741
+ },
742
+ ],
698
743
" cacheId" : " title" ,
699
744
" globDirectory" : " ../.tmp/simple/.statusfy/dist/client" ,
700
745
" offlinePage" : " /offline" ,
701
746
" publicPath" : " /static/" ,
747
+ " runtimeCaching" : Array [
748
+ Object {
749
+ " strategyOptions" : Object {
750
+ " cacheExpiration" : Object {
751
+ " maxAgeSeconds" : 300 ,
752
+ " maxEntries" : 10 ,
753
+ },
754
+ " cacheName" : " title_api" ,
755
+ },
756
+ " urlPattern" : " (/static/content)?/api/v1/.*" ,
757
+ },
758
+ ],
702
759
},
703
760
}
704
761
` ;
0 commit comments