diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-11 20:00:50 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-11 20:00:50 -0800 |
commit | 3fa96eea557c4951d473f301d5172c5d7a870376 (patch) | |
tree | 2629c8a94c4215414bd065857ee7f7380b01f0c5 /system/db/cache.go | |
parent | 7e06c63410304767bc6b0dce4e1e2477934fd816 (diff) |
removing print debug for cache check
Diffstat (limited to 'system/db/cache.go')
-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) |