Closed amandesai01 closed 4 weeks ago
Any updates on this? Do I need to provide something extra?
Hi dear @amandesai01 this is a known limitation in Nitro v2 cache that binary responses are not catchable and it is not easily fixable to support all binary types.
The good news is that with the upcoming Nitro v3 and h3 caching would support it out of the box.
Awesome! I will close this then.
Basically, I want to serve assets from a event handler in server. Questions:
Buffer
.For full context, see: https://github.com/profilecity/vidur/blob/main/src/server/routes/assets/%5Bkey%5D.ts
Originally posted by @amandesai01 in https://github.com/unjs/nitro/discussions/2650