returnconfigs,fmt.Errorf(`Invalid path %v. Should start with "/"`,p)
returnconfigs,fmt.Errorf(`gzip: invalid path "%v" (must start with /)`,p)
}
}
pathFilter.IgnoredPaths.Add(p)
pathFilter.IgnoredPaths.Add(p)
// Warn user if / is used
ifp=="/"{
fmt.Println("Warning: Paths ignored by gzip includes wildcard(/). No request will be gzipped.\nRemoving gzip directive from Caddyfile is preferred if this is intended.")