diff --git a/src/index.ts b/src/index.ts index 0c20d3f..5d55d77 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,6 +14,7 @@ app.use("*", async (c, next) => { console.log(cached); const res = new Response(cached.body); res.headers.set("X-Cache-Status", "HIT"); + res.headers.set("X-Response-Time", `${performance.now() - start}`); return res; } await next();