Set global cache for API

Hi @Gregor
There is no response to this thread.
I appreciate if it is possible that you attend to his answer.
Thank you very much