perusio/nginx-cache-inspector

404 not found is not an instructive error message for TTL < 0

deweydb opened this issue · 0 comments

            ## If the expire timestamp is negative that means that
            ## the item is not found or other error.
            [ $ttl -lt 0 ] && echo "404 Not found" && continue

Shouldn't this say something like "Expires set in the past"