-
Notifications
You must be signed in to change notification settings - Fork 4
Cache
Eric edited this page Feb 17, 2023
·
10 revisions
Cacheis a static class that acts as a central database of preloaded items, expect sounds. Sounds have their own cache in Audio.
Cachecan only store html, json, ose, oml and sound 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