cache setup for web3