Christian Haynes
Christian Haynes
I am going to look into what it might take to create a server side crate to address this use case
@enricoschaaf I just published the initial version of the tower server crate https://crates.io/crates/http-cache-tower-server I included a couple of Axum based examples, hopefully they make sense. I am very curious to...
I don't have logic for eviction by size but the 1.0 alphas have this available: https://github.com/06chaynes/http-cache/blob/main/http-cache/src/lib.rs#L104 so the entries could be removed based on age. Ideally, at least from my...
I think this should be doable. When I get in to make the other updates this weekend (hopefully) I will play around with including the body as an argument.
Been a while but adding this functionality in PR #115 via a new field in `HttpCacheOptions` called `response_cache_mode_fn`
When I had first looked into it some years ago ureq didn't appear to have middleware support, but I see now that has since changed. Given that it may be...
@mrchantey i noticed in the linked issue that one problem with using reqwest was the requirement of tokio. Because http-cache is an async library we will need to deal with...
I think I might be able to use `futures::executor::block_on` for this. I will try to throw something together and see what happens.
Made an effort to start on this but running into some lifetime problems that I think are Send/Sync related on the ureq Middleware trait. Will look into this again as...
I think what this may require me to do is to revisit the refactor I had attempted a few years ago, which was originally started to better support tower and...