Rewrite the cache layer of the plug-in.