kopia lustrzana https://github.com/cheeaun/phanpy
				
				
				
			Replace SWR with CacheFirst
This SWR strategy is sometimes too stale, possibly a bug with Workboxpull/607/head
							rodzic
							
								
									f1822d54af
								
							
						
					
					
						commit
						631730f2f2
					
				| 
						 | 
				
			
			@ -101,7 +101,7 @@ const apiIntermediateRoute = new RegExpRoute(
 | 
			
		|||
  // - trends/*
 | 
			
		||||
  // - timelines/link
 | 
			
		||||
  /^https?:\/\/[^\/]+\/api\/v\d+\/(trends|timelines\/link)/,
 | 
			
		||||
  new StaleWhileRevalidate({
 | 
			
		||||
  new CacheFirst({
 | 
			
		||||
    cacheName: 'api-intermediate',
 | 
			
		||||
    plugins: [
 | 
			
		||||
      new ExpirationPlugin({
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue