We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fae2544 commit 941f8c7Copy full SHA for 941f8c7
1 file changed
vitePwaOptions.ts
@@ -28,10 +28,9 @@ export const vitePWAconfig: Partial<VitePWAOptions> = {
28
},
29
{
30
urlPattern: /^https:\/\/api(?:\.test)?\.profcomff\.com\/timetable\/.*/i,
31
- handler: 'NetworkFirst',
+ handler: 'StaleWhileRevalidate',
32
options: {
33
cacheName: 'api-timetable',
34
- networkTimeoutSeconds: 3,
35
expiration: {
36
maxEntries: 30,
37
maxAgeSeconds: 60 * 60 * 24 * 365,
0 commit comments