Store arbitrary data in the cache
set($id, $data, $tags = NULL, $lifetime = NULL)
$id
The ID of the cached data. Must be unique.$data
If $data is not a string it will be serialized for storage. $tags
defaults to none, an array should be supplied. This is useful when grouping caches together.$lifetime
specific lifetime can be set. If none given the default lifetime from the configuration file will be used.