class Card::Cache

The {Cache} class manages and integrates {Temporary} and {Shared} caching. The {Temporary} cache is typically process- and request- specific and is often “ahead” of the database; the {Shared} cache is typically shared across processes and tends to stay true to the database.

Any ruby Class can declare and/or retrieve its own cache as follows:

““ Card::Cache ““

Typically speaking, mod developers do not need to use the Cache classes directly, because caching is automatically handled by Card#fetch