Stop caching infinite scrolling

This commit is contained in:
Eduard Urbach 2017-10-17 11:48:20 +02:00
parent 96c0d22192
commit 44b33b8215

View File

@ -5,9 +5,19 @@ const RELOADS = new Map<string, Promise<Response>>()
const ETAGS = new Map<string, string>()
const CACHEREFRESH = new Map<string, Promise<void>>()
const EXCLUDECACHE = new Set<string>([
// API requests
"/api/",
// PayPal stuff
"/paypal/",
// List imports
"/import/",
// Infinite scrolling
"/from/",
// Chrome extension
"chrome-extension"
])