1
0
mirror of https://github.com/minio/minio.git synced 2025-04-03 19:30:29 -04:00

1 Commits

Author SHA1 Message Date
poornas
3385bf3da8 Rewrite cache implementation to cache only on GET ()
Fixes 
Fixes  
Fixes  
Fixes 
Fixes  
Fixes  

This will allow the cache to consistently work for
server and gateways. Range GET requests will
be cached in the background after the request
is served from the backend.

- All cached content is automatically bitrot protected.

- Avoid ETag verification if a cache-control header
is set and the cached content is still valid.

- This PR changes the cache backend format, and all existing
content will be migrated to the new format. Until the data is
migrated completely, all content will be served from the backend.
2019-08-09 17:09:08 -07:00