Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Client proxy #12

Open
austinnichols101 opened this issue Nov 15, 2019 · 0 comments
Open

Request: Client proxy #12

austinnichols101 opened this issue Nov 15, 2019 · 0 comments

Comments

@austinnichols101
Copy link

I have a remote https://api server that I do not control.

I would like to use bloom to cache the responses from the remote server:

curl -H "Bloom-Request-Shard: 0;" -H "Bloom-Request-Ignore: 1;" http://bloom-host:8080/my-url

In this case I am:

  • making an http request to bloom with an https request to the api server
  • specifying a new flag Request-Ignore to disable cache on the request

I have a few remote API servers, so an example of how to configure multiple hosts/shards would be useful.

NOTE: I am currently able to use bloom with http to accomplish this task, with the exception of controlling the ignore cache from the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant