bgubB
Convex Community8mo ago
1 reply
bgub

Convex storage GZIP compression

Hey guys!

So, right now I'm storing a whole bunch of JSON files in my Convex storage that are all 300Kb-1Mb.

They are highly repetitive, and compression would decrease the size drastically. Any suggestions on how to do this? Should I just GZIP them before uploading in my Convex function, and then un-GZIP before returning them to the client?
Was this page helpful?