Exclude service worker and edit/pin/watch/new pages from main cache

We don't need the service worker to cache itself, or pages that won't
work offline anyway.
This commit is contained in:
Rosa Gutierrez
2026-02-20 12:07:38 +01:00
parent de6d70cc2e
commit 0482670fec
2 changed files with 3 additions and 1 deletions
@@ -15,7 +15,7 @@ export default class extends Controller {
submit() {
if (this.inputTarget.disabled) return
this.element.submit()
this.element.requestSubmit()
this.inputTarget.disabled = true
}
}