cache_put_data

Puts value in the cache under key for ttl seconds. - It may "miss" so shouldn't be depended on - Uses the cache engine chosen in the ACP and saved in settings.php - It supports: Xcache: https://xcache.lighttpd.net/wiki/XcacheApi memcache: https://php.net/memcache APC: https://php.net/apc APCu: https://php.net/book.apcu Zend: http://files.zend.com/help/Zend-Platform/output_cache_functions.htm Zend: http://files.zend.com/help/Zend-Platform/zend_cache_functions.htm
Parameters Summary
string $key
mixed $value
int $ttl = 120