-
Notifications
You must be signed in to change notification settings - Fork 4
Cache
Eric edited this page Mar 24, 2024
·
10 revisions
Cache
is a static class that acts as a central database of preloaded items, except sounds. Sounds have their own cache in Audio.
Cache
can only store html, json, ose, oml files. Preloaded images are not stored once loaded as it relies then on the browser's cache (preloaded images are rendered in the background then removed).
OGX.Cache.read(_TYPE_OR_EXT_, _ID_);
OGX.Cache.get(_QUERY_, _LIMIT_);
OGX.Cache.set(_ARRAY_);
OGX.Cache.add(_OBJECT_OR_ARRAY_);
OGX.Cache.remove(_TYPE_OR_EXT_, _ID_);
- Welcome
- Changelog
- Structure
- Configuration
- Getting started
- CLI
- Poly
- Core
- Templating
- Routing
- Controllers
- Components
- Extra Components
- Helpers
- Styling
- Debugging