tomphttp / bare-server-node

TompHTTP Bare server in the Node runtime
GNU General Public License v3.0
72 stars 122 forks source link

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

Open BenRogozinski opened 6 months ago

BenRogozinski commented 6 months ago

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.

velzie commented 6 months ago

chatgpt ahh pr

BenRogozinski commented 6 months ago

🙄

genericness commented 3 months ago

Screenshot 2024-06-07 at 3 18 14 AM

BenRogozinski commented 3 months ago

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