mc-webserver/conf/cache.go

12 lines
564 B
Go
Raw Normal View History

2023-08-13 20:19:47 +01:00
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"`
}