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

Added the cache-control to the list of forwareded headers #30

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

BenRogozinski
Copy link

By adding the cache-control header to the list of forwarded headers, it allows common reverse proxy applications, such as Nginx and CloudFlare in proxy mode to utilize this header normally and cache responses from the Bare server to reduce load. This is beneficial for large-scale proxy servers because it allows for a reduction in system load on the origin without impacting user experience, with the usage of an appropriately formatted cache key that includes the custom HTTP headers used in the bare protocol.

This allows reverse proxy servers such as Nginx or a CloudFlare upstream to properly utilize caching with the appropriate cache keys
@velzie
Copy link
Contributor

velzie commented Apr 3, 2024

chatgpt ahh pr

@BenRogozinski
Copy link
Author

🙄

@genericness
Copy link

Screenshot 2024-06-07 at 3 18 14 AM

@BenRogozinski
Copy link
Author

Man I've been spending too much time on my computer

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

Successfully merging this pull request may close these issues.

3 participants