diff options
-rw-r--r-- | system/db/cache.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/system/db/cache.go b/system/db/cache.go index e964906..bfca709 100644 --- a/system/db/cache.go +++ b/system/db/cache.go @@ -20,12 +20,9 @@ func CacheControl(next http.Handler) http.HandlerFunc { if match := req.Header.Get("If-None-Match"); match != "" { if strings.Contains(match, etag) { - fmt.Println("matched etag") res.WriteHeader(http.StatusNotModified) return } - - fmt.Println("checked, no match") } next.ServeHTTP(res, req) |