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
get() get(string $key) : mixed Get cache Parameters string $key cache key Returns mixed — return null when fail
createCacheFilePath() createCacheFilePath( $key) 考虑到Linux同一目录下的文件个数限制,这里拆分成1000个文件缓存目录 Parameters $key