I'm bit of wondering about the cache usage in my custom Plug-in. I'm planning to use XenForo_Model_DataRegistry to store my cache data. Is that fine?
Does the cleanup of data_registry happen automatically Or do I need to take care of it manually for my plugin entries?
Also, do I able to set different cache time for my plugin, say I want to cache my custom plugin entries only for five minutes?
Any code snippets would help too.
Does the cleanup of data_registry happen automatically Or do I need to take care of it manually for my plugin entries?
Also, do I able to set different cache time for my plugin, say I want to cache my custom plugin entries only for five minutes?
Any code snippets would help too.
Last edited: