bugfix: cache->priv is not used anymore since the internal storage API changed