You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"h3": "^1.11.1",
"vite": "^5.2.11",
"typescript": "^5.0.0"
bun v1.1.13
reproduction
combine bun, vite (dev server middleware mode), and h3.
attempt to serve the vite dev server through h3 with the bun adapter
go to localhost on your browser, now try disabling cache in the network tab
describe the bug
the webpage will stall on "waiting for localhost" indefinitely.
turning off cache makes the webpage load near instantly.
my domain knowledge in http is not very good, but i presume it has something to do with the cache headers not being passed to bun.serve properly?
additional context
this only happens with the bun adapter, using the node adapter on the bun runtime works completely fine
logs
The text was updated successfully, but these errors were encountered:
cysabi
changed the title
Bun adapter does not load web page unless cache is disabled
Bun adapter cannot load webpage unless cache is disabled
Jun 18, 2024
environment
"h3": "^1.11.1",
"vite": "^5.2.11",
"typescript": "^5.0.0"
bun v1.1.13
reproduction
combine bun, vite (dev server middleware mode), and h3.
attempt to serve the vite dev server through h3 with the bun adapter
go to localhost on your browser, now try disabling cache in the network tab
describe the bug
the webpage will stall on "waiting for localhost" indefinitely.
turning off cache makes the webpage load near instantly.
my domain knowledge in http is not very good, but i presume it has something to do with the cache headers not being passed to bun.serve properly?
additional context
this only happens with the bun adapter, using the node adapter on the bun runtime works completely fine
logs
The text was updated successfully, but these errors were encountered: