mc-webserver/conf/cache.go
2023-08-13 20:19:47 +01:00

12 lines
564 B
Go

package conf
type CacheSettingsYaml struct {
EnableTemplateCaching bool `yaml:"enableTemplateCaching"`
EnableTemplateCachePurge bool `yaml:"enableTemplateCachePurge"`
EnableContentsCaching bool `yaml:"enableContentsCaching"`
EnableContentsCachePurge bool `yaml:"enableContentsCachePurge"`
MaxAge uint `yaml:"maxAge"`
NotModifiedResponseUsingLastModified bool `yaml:"notModifiedUsingLastModified"`
NotModifiedResponseUsingETags bool `yaml:"notModifiedUsingETags"`
}