The default Cache-Control header now becomes "no-cache". When the --expiry option is used, it only applies to HTTP 200 responses. There is a new --expiry404 option dessigned to allow for a short caching period of invalid paths, but allowing regular re-checking in case the asset becomes avaoilable in the future.
15 lines
345 B
Modula-2
15 lines
345 B
Modula-2
module src.lwithers.me.uk/go/htpack/cmd/packserver
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/spf13/cobra v1.10.2
|
|
src.lwithers.me.uk/go/htpack v1.5.0
|
|
)
|
|
|
|
require (
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/spf13/pflag v1.0.10 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
google.golang.org/protobuf v1.36.12 // indirect
|
|
)
|