Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maintain a client-side http cache with aiohttp

I have a synchronous app using cache-control + requests which works well with a local filesystem cache. I'm looking to migrate this to an async project using aiohttp-client however, it looks like there aren't any client-side caching libraries that work with it?

Are there any async HTTP clients in Python that I can use a local cache with?

like image 757
Areeb Avatar asked Apr 17 '26 19:04

Areeb


1 Answers

The aiohttp-client-cache library works with aiohttp-client and can be used to store cache on a local filesystem.

like image 168
Jonathan Feenstra Avatar answered Apr 19 '26 08:04

Jonathan Feenstra