Workers: Return latest cache response

We are using Cache api. I added a timeout to my fetch and want to return the last cache if the timeout exceeds. Is there an example that covers this?