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 ETAGS = new Map<string, string>()
const CACHEREFRESH = new Map<string, Promise<void>>() const CACHEREFRESH = new Map<string, Promise<void>>()
const EXCLUDECACHE = new Set<string>([ const EXCLUDECACHE = new Set<string>([
// API requests
"/api/", "/api/",
// PayPal stuff
"/paypal/", "/paypal/",
// List imports
"/import/", "/import/",
// Infinite scrolling
"/from/",
// Chrome extension
"chrome-extension" "chrome-extension"
]) ])