diff -r 8d46ecc4bd0c -r 9bb1bed3e8e3 net/http/files.lua --- a/net/http/files.lua Sat May 04 04:33:41 2019 +0200 +++ b/net/http/files.lua Sat May 04 04:48:40 2019 +0200 @@ -94,6 +94,7 @@ if data and data.etag == etag then response_headers.content_type = data.content_type; data = data.data; + cache:get(orig_path, data); elseif attr.mode == "directory" and path then if full_path:sub(-1) ~= "/" then local dir_path = { is_absolute = true, is_directory = true };