Store metadata in cache objects