Skip to content

Commit

Permalink
feat(cloudflare): no-store <any>service-worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickJS committed May 20, 2024
1 parent d78c13a commit 91f5351
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions starters/adapters/cloudflare-pages/public/_headers
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# https://developers.cloudflare.com/pages/platform/headers/

/*service-worker.js
Cache-Control: no-store
Content-Type: application/javascript
X-Content-Type-Options: nosniff

/build/*
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable

0 comments on commit 91f5351

Please sign in to comment.