$key = $this->getCacheKey($name);
$expire = $this->getExpireTime($expire);
$value = $this->serialize($value);
if ($expire) {
$result = $this->handler->setex($key, $expire, $value);
} else {
$result = $this->handler->set($key, $value);
}
isset($first) && $this->setTagItem($key);
return $result;
}
/**
* 自增缓存(针对数值缓存)
USER | www |
HOME | /home/www |
HTTP_HOST | gz.f.cx |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | cn.f.cx |
SERVER_PORT | 80 |
SERVER_ADDR | 222.187.221.42 |
REMOTE_PORT | 57592 |
REMOTE_ADDR | 44.200.65.174 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/www22142/weblist/fangcms/cn.f.cx/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /mai/list-o7_t10v.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//mai/list-o7_t10v.html |
SCRIPT_FILENAME | /home/www22142/weblist/fangcms/cn.f.cx/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711723258.2352 |
REQUEST_TIME | 1711723258 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |