nedomi
nedomi copied to clipboard
Improve "cacheability" understanding
Implement a fully featured, RFC 7234 compliant comprehension of HTTP requests and responses. This way, we can know which requests can receive cached responses and which upstream responses can be cached for future requests.
Some libs which could be helpful:
- https://github.com/pquerna/cachecontrol
- https://github.com/lox/httpcache (especially the spec tests)
Certainly! But one at a time. My guess is that trying to support everything related to caching is pretty much lost battle. We'll have to pick a feature (header) to support and implement it. Next one after that and do it incrementally.