veeshi

Results 25 comments of veeshi

If you are just looking to match if any of the rules matched then you can combine them with ands but I assume you want information on which of them...

Yep, my bad, combine with or not and! I think it may be slightly faster, the execution context is passed by reference and a filter is just a boxed Fn....

I know this isn't exactly what you're looking for but for others looking for an SQLite cache manager, I previously implemented an MVP to trial using SQLite https://github.com/nethunterslabs/http-cache/tree/manager-sqlite.

This caught me eye and it would be a useful feature to add support for a cache busting closure. So the closure takes: - http::request::Parts - cache key closure, user...

I'll try putting together a PR if I get time this weekend to see what it could look like.

I've jotted up an initial idea, it generates the keys to bust in the cache first and removes them before continuing with the actual request. Not sure if that is...

For the customisable cache key I'm thinking of adding another field to `CacheOptions` called `cache_key` and it is a closure that takes the request and returns the cache key as...

It's essentially a HTTP proxy which allows configuration for different routes. Ah I didn't realise it was a re-export, just seen the note in the main `http-cache` crate! I think...

I've seen the cache modes added and it would be nice if that could be modified on a per request basis. The use case is we only want to cache...

I'm unsure why it isn't something people are more interested in. Most FAAS platforms using Wasmtime have built rudimentary ACLs for HTTP requests but they all miss out on the...