From 3fa96eea557c4951d473f301d5172c5d7a870376 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sun, 11 Dec 2016 20:00:50 -0800 Subject: removing print debug for cache check --- system/db/cache.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'system') 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) -- cgit v1.2.3