Helix:Cache
From HelixCore
Helix caching is maintained in the `cache` table in the database. Each item has a type, query, rank, cache time, flag and 5 sets of data to use. The cache time should be used to define when an item has expired, or should be refreshed. Each individual component is responsible for clearing it's own cache. All components should distinguish their cache through the use of the type field and define what item they are caching using the query field.
Cache Types
- 0-9: Reserved for site use
- 10: Website thumbnail previews
- 11: SE Class - Keyword cache
- 12: SE Class - Yahoo sponsored results
- 13: SE Class - Yahoo natural results
Flags Conventions
Flags may be defined to whatever you want them to mean, but the general convention used be the Helix core is as follows:
- 0: Normal/Automatic item
- 1: Black listed item, do not remove from cache and do not use in normal operation
- 2: Manually configured item, do not remove from cache, but do use in normal operation
Therefore, typically, only items with flag 0 will be removed from cache listings.
