Adds plugin specific data to cache.
Passes the ownership of the structure to the this.
The cache is flushed every time the registry is rebuilt.
this |
a plugin |
cache_data |
a structure containing the data to cache |