Ticket #79 (closed enhancement: fixed)
ColdBox Cache
| Reported by: | lmajano | Owned by: | lmajano |
|---|---|---|---|
| Priority: | low | Milestone: | 2.0.0 |
| Component: | Plugins General | Version: | 2.0.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The creation of a new plug in for caching. Still in experimental stages. If completed for 1.1.1 it will be done.
Simple specs
Caching destinations
- RAM Based (Scope used Application)
- File Based.
Configuration
The configuration of the caching plugin will be done via the config.xml.cfm, but it can be changed programattically through the plugin API.
Sample:
<coldbox_cache> <scope>(RAM/FILE)</scope> <location>URI</location> <default_timeout>(In minutes : ''[Default=60]'')</default_timeout> <serialization_schema>(WDDX/NATIVE)</serialization_schema> </coldbox_cache>
Notes
- Cache primitive data types (Probably use native serialization instead of wddx) such as structures, strings, queries, XML, numbers, etc. This would enable quicker processing and less resource consumptions. This will be an option.
- RAM and FILE Based scopes
- Templates will be cached according to full URL
- URL Actions:
- nocc= will bypass the cache
- reloadcc= Will reload the cache on this template only.
- fwreinit= Will reinit the application. Thus clearing and reloading the cache.
- Programattic Cache Operations
- flush( string KEY) - Flush a specific key
- flushAll() - Flush all the cache scope.
Change History
Note: See
TracTickets for help on using
tickets.
