Prevent search from querying full page

This commit is contained in:
Eduard Urbach 2017-11-11 16:09:37 +01:00
parent eae4168941
commit 3de29e9925

View File

@ -164,7 +164,7 @@ class MyServiceWorker {
let servedETag = ETAGS.get(url) let servedETag = ETAGS.get(url)
// If the user requests a sub-page we should prefetch the full page, too. // If the user requests a sub-page we should prefetch the full page, too.
if(url.includes("/_/")) { if(url.includes("/_/") && !url.includes("/_/search/")) {
this.prefetchFullPage(url) this.prefetchFullPage(url)
} }