0xym0r0n
Well-known member
So this
reference: http://xenforo.com/community/thread...ll-users-over-several-runs.33600/#post-382901
vs
In ControllerPublic...
I see that the mb size and queries are the same for my add-on when I switch between them. Is there no difference other than how much it can store?
Which would you use?
I'm retrieving a variable amount of items which can be large and small. For now I'm using the getModelFromCache.
I'm new to MVC and I'm new to cacheing data Pardon this special question please.
Thanks <3
Code:
$value = XenForo_Model::create('XenForo_Model_DataRegistry')->get('yourKey');
vs
Code:
return $this->getModelFromCache ('yourKey');
In ControllerPublic...
I see that the mb size and queries are the same for my add-on when I switch between them. Is there no difference other than how much it can store?
Which would you use?
I'm retrieving a variable amount of items which can be large and small. For now I'm using the getModelFromCache.
I'm new to MVC and I'm new to cacheing data Pardon this special question please.
Thanks <3