this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

This caching seems still buggy

Revert to SWR with 1-min expiry

+2 -2
+2 -2
public/sw.js
··· 101 101 // - trends/* 102 102 // - timelines/link 103 103 /^https?:\/\/[^\/]+\/api\/v\d+\/(trends|timelines\/link)/, 104 - new CacheFirst({ 104 + new StaleWhileRevalidate({ 105 105 cacheName: 'api-intermediate', 106 106 plugins: [ 107 107 new ExpirationPlugin({ 108 - maxAgeSeconds: 10 * 60, // 10 minutes 108 + maxAgeSeconds: 1 * 60, // 1min 109 109 }), 110 110 new CacheableResponsePlugin({ 111 111 statuses: [0, 200],