I have noticed that some of my rpc calls are not r...
# help
c
I have noticed that some of my rpc calls are not returned compressed, making the return result extremely large and slow to return. It looks like all of my other rpc calls and standard queries are all compressed with brotli (br). Any ideas why some rpc calls are not being compressed? One thing that seems to stand out is these rpc's return tables and I am paginating and ordering the result on the client using
range()
and
order()
. Here is the rpc: https://github.com/city41/smaghetti/blob/main/database/migrations/1640448225339_getAllPublishedLevelsFunction.js and here is how it is called using the supabase-js client: https://github.com/city41/smaghetti/blob/main/src/components/levels/Levels2Page/ConnectedLevels2Page.tsx#L61
the uncompressed response can be seen in action here https://smaghetti.com/levels/all/newest/