If Cache-Control header is present, Expires header is ignored
Sjolus opened this issue · comments
https://github.com/RasCarlito/axios-cache-adapter/blob/master/src/response.js#L24
The else if here makes it so that if:
- There is a cache control
- There is no cache-control-max-age header
- There is an Expires header
The Expires header is ignored.