kornelski / http-cache-semantics

RFC 7234 in JavaScript. Parses HTTP headers to correctly compute cacheability of responses, even in complex cases
http://httpwg.org/specs/rfc7234.html
BSD 2-Clause "Simplified" License
244 stars 27 forks source link

options.shared=false should be default option #13

Closed adityapatadia closed 5 years ago

adityapatadia commented 5 years ago

Lot of people should use this to cache on their own servers and not mean to use this as shared cache. Probably the shared=false should be default for this library.

adityapatadia commented 5 years ago

What do you think of this @kornelski

kornelski commented 5 years ago

No, the choice of shared is deliberate, because it's safer — you don't risk mixing up private data.

adityapatadia commented 5 years ago

Ok.