D8-OTF cache of public API

This is the implementation of https://github.com/globaleaks/GlobaLeaks/issues/801 need to be revewed

sorry @evilaliv3 I was incapable to keep your commit, this branch is detached from devel of this morning.