lox / httpcache

An RFC7234 compliant golang http.Handler for caching HTTP responses
MIT License
264 stars 28 forks source link

Abstract mutex management to per-key across store implementations #2

Closed lox closed 10 years ago

lox commented 10 years ago

Having a global mutex locking all store keys was causing huge problems with copies. This change simplifies the store api, whilst complicating the actual underlying store code. It has caused me pain.