ApeWorX / ape-alchemy

Alchemy network provider plugin for the Ape Framework
https://www.apeworx.io/
21 stars 13 forks source link

Use gZip compression #66

Open fubuloubu opened 7 months ago

fubuloubu commented 7 months ago

Overview

Alchemy supports grip compression for reducing method latency for large requests https://docs.alchemy.com/docs/how-to-enable-compression-to-speed-up-json-rpc-blockchain-requests

Specification

Add it to the header. May need to make a heuristic on expected response size to include this or not

Dependencies

N/A

linear[bot] commented 7 months ago

APE-1732 Use gZip compression

fubuloubu commented 3 months ago

Idea: gzip web3py middleware