set()
set(string $key, mixed $value, integer $expire = 600)
Set cache
Parameters
string | $key | cache key |
mixed | $value | cache content data |
integer | $expire | cache expire time, unit: seconds, not timestamp |