Worker always returns 200 on If-None-Match

For Workes & Pages, what is the name of the domain?

``

What is the issue or error you’re encountering

I have deployed hono api on cf worker, I am using etag middleware provided by hono. when used locally the etag works as intended and I get 304 if the response is not modified however when the same app is deployed on cf worker, the app always returns 200 whether or not the response was modified.

What are the steps to reproduce the issue?

import { etag } from “hono/etag”;

app.use(
“*”,
cors({
origin: [“http://localhost:3000”],
maxAge: 3600,
credentials: true,
allowHeaders: [
“Content-Type”,
“Authorization”,
“If-None-Match”,
“If-Modified-Since”,
“ETag”,
],
}),
etag(),
);