save pluginIds into cache