-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add new --proxy-cache option #868
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
base: master
Are you sure you want to change the base?
Add new --proxy-cache option #868
Conversation
|
This pull request has been inactive for 360 days |
|
After manually testing and reviewing this code I've come to understand that this is half a proxy implementation - it writes every proxied response to a file, overwriting the file if a proxied response already exists there. There is only one file so, effectively, this is just a local file that contains the last response and is not used by http-server when generating responses. Merging this as-is would introduce a performance overhead. What is this flag meant to be used for? |
Add a new option --proxy-cache to cache response from the proxy server and will auto decompress the response if it is compressed based on the content-encoding header
Contributor checklist
--helpoutputmasterbranchMaintainer checklist