I was looking through the Roblox Wiki API page when I accidentally clicked upon this link:
http://wiki.roblox.com/index.php?title=API:Class/CacheableContentProvider
I was hoping that someone wouldn't mind explaining what this is and how one can use it. I did a quick Google search on it and found literally nothing.
It also happens to have three sub-classes:
MeshContentProvider
SolidModelContentProvider
TextureContentProvider
This class doesn't even have it's own specific functions or properties. Everything it inherits is from the Instance class: Functions, Properties, YieldFunctions, and Events.
Even one of it's subclasses, TextureContentProvider
, has it's own unique function:
void SetCacheSize ( int count )
Instance.new("CacheableContentProvider",workspace)
I also attempted to Instance this into workspace but got:
23:29:06.789 - Unable to create an Instance of type "CacheableContentProvider"
It isn't any type of service either!
print(game:GetService("CacheableContentProvider")) --nil
CacheableContentProvider is just a base class that other classes inherit. Although there are no visible Lua methods in the API, in the C++ code(which is what the ROBLOX client is written in) there are methods that do stuff behind the scenes, which is why the class is needed.
Its is used by Roblox corescripts, it simply is a cache function, if they call it and the item already has been callled it gets it from the cache, however if its new roblox with cache it. There is no way to cache stuff as roblox does it automatically