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
I am going to dig into this issue a bit more and hopefully come up with a patch. However, I wanted to see if anyone has seen anything like this before? Am I missing some communication that happens between the middleware and Warp that informs Warp not to read this file again?
Not locally reproducible, but here is one service I have up which does this:
I noticed today that on a few of my apps, I was receiving the
Last-Modified
header twice (and theVary
header).I pinned down a change that is the reason this header is displayed twice to this line of code.
Which lead me down a rabbit hole trying to determine:
Is the file read twice to calculate the file info metadata? Once by warp and once by wai-middleware-static, independently?
wai-middleware-static/Network/Wai/Middleware/Static.hs
Line 229 in 248f20a
I am going to dig into this issue a bit more and hopefully come up with a patch. However, I wanted to see if anyone has seen anything like this before? Am I missing some communication that happens between the middleware and Warp that informs Warp not to read this file again?
Not locally reproducible, but here is one service I have up which does this:
The text was updated successfully, but these errors were encountered: