Init cache in ssl context