This sample uses a cache configuration to the target API. We are configuring here two types of cache:
The client cache will have a lifetime of 1 minute and the server cache 10 minutes.
The server cache will store a binary content and also the content of the response header 'access-control-allow-credentials'.