Mugetsu
Mugetsu8h ago

How to compress procedure response

I have one trpc procedure which has 40 mb response. I would like to compress this. How can I compress one procedure call in trpc. Or even better have compression for all trpc procedures above some threshold. Is it possible or I have to create separate api endpoint out of trpc context. I’m using nextjs with custom express server.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?