http-cache
http-cache copied to clipboard
Implement writeExpiresHeader option for client
This pull request adds an option to automatically add an Expires header to all responses. This will let the client (e.g. frontend) to know the exact time when the server cache will expire and utilise disk cache to reduce the number of requests. The option is off by default so it should be completely backward compatible with previous library versions.