It seems that httpcache logs an error while attempting to cache a resource, if the first/only request is a HEAD. The error comes from handler.go:385.
Also, this line results in a poorly formatted error - when errorf passes the args to the log function, there is no distinction between err and the elements of keys, so the function thinks that the arg for %s is missing. One workaround is
It seems that httpcache logs an error while attempting to cache a resource, if the first/only request is a HEAD. The error comes from handler.go:385.
Also, this line results in a poorly formatted error - when
errorf
passes the args to the log function, there is no distinction betweenerr
and the elements ofkeys
, so the function thinks that the arg for %s is missing. One workaround is