nedomi icon indicating copy to clipboard operation
nedomi copied to clipboard

Improve "cacheability" understanding

Open na-- opened this issue 9 years ago • 2 comments

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)

na-- avatar Aug 14 '15 17:08 na--

We might have to consider RFC 5861 and some parts of RFC 7231 as well...

na-- avatar Aug 14 '15 17:08 na--

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.

ironsmile avatar Aug 14 '15 17:08 ironsmile