D8 otf cache

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.