Prevent search from querying full page
This commit is contained in:
parent
eae4168941
commit
3de29e9925
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user