There's no out-of-the-box support, but using Cache Framework with a custom strategy based on AbstractStrategy for disk persistence should be straightforward.
Two things to keep in mind:
- Cache Framework performance/size penalty (check the linked doc)
- Cache-control header:
a response is cacheable if the requirements of the request method, request header fields, and the response status indicate that it is cacheable.
HTH