Use Cache-Control immutable and SameSite Lax
This commit is contained in:
parent
7658e3bde7
commit
675e350da3
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ import (
|
|||
"github.com/khlieng/dispatch/assets"
|
||||
)
|
||||
|
||||
const longCacheControl = "public, max-age=31536000"
|
||||
const longCacheControl = "public, max-age=31536000, immutable"
|
||||
const disabledCacheControl = "no-cache, no-store, must-revalidate"
|
||||
|
||||
type File struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue