Mô tả
Store WordPress user session tokens in Redis rather than the usermeta table.
This plugin was previously known as WP Redis User Session Storage and was renamed to comply with WordPress.org naming constraints. The previous class name is aliased to support existing extensions.
Cài đặt
- Install and configure Redis.
- Install the Redis PECL module.
- Activate the plugin network-wide or by placing it in
mu-plugins. - By default, the script will connect to Redis at
127.0.0.1:6379. See the Connecting to Redis section for further options.
Hỏi đáp
-
Connecting to Redis
-
By default, the plugin uses
127.0.0.1and6379as the default host and port, respectively, when creating a new client instance; the default database of0is also used.Specify any of the following constants to set the necessary, non-default connection values for your Redis instance:
WP_REDIS_USER_SESSION_HOST– Hostname or IP of the Redis server, defaults to127.0.0.1.WP_REDIS_USER_SESSION_PORT– Port of the Redis server, defaults to6379.WP_REDIS_USER_SESSION_SOCKET– Path to a Unix socket file for the Redis server, if available. Takes precedence over the port value when set.WP_REDIS_USER_SESSION_AUTH– Password for the Redis server, if required.WP_REDIS_USER_SESSION_DB– Database number to use for the Redis server, defaults to0.WP_REDIS_USER_SESSION_SERIALIZER– Serializer to use for the Redis server, defaults toRedis::SERIALIZER_PHP.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Redis User Session Storage” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Redis User Session Storage” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
0.2
- Add cleanup routine for usermeta storage.
- Prepare plugin for WordPress.org release.
0.1
- Initial public release