{"id":159886,"date":"2022-07-13T23:48:07","date_gmt":"2022-07-13T23:48:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/redis-user-session-storage\/"},"modified":"2022-07-16T22:26:17","modified_gmt":"2022-07-16T22:26:17","slug":"wp-redis-user-session-storage","status":"publish","type":"plugin","link":"https:\/\/mlt.wordpress.org\/plugins\/wp-redis-user-session-storage\/","author":887574,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"0.2","tested":"6.0.11","requires":"4.0","requires_php":"5.6","requires_plugins":"","header_name":"Redis User Session Storage","header_author":"Erick Hitter","header_description":"Store WordPress session tokens in Redis rather than the usermeta table. Requires the Redis PECL extension.","assets_banners_color":"","last_updated":"2022-07-16 22:26:17","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ethitter.com\/donate\/","header_plugin_uri":"https:\/\/ethitter.com\/plugins\/redis-user-session-storage\/","header_author_uri":"https:\/\/ethitter.com\/","rating":0,"author_block_rating":0,"active_installs":200,"downloads":9063,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.2":{"tag":"0.2","author":"ethitter","date":"2022-07-16 22:26:17"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[212034,212033,212032],"plugin_category":[],"plugin_contributors":[77526],"plugin_business_model":[],"class_list":["post-159886","plugin","type-plugin","status-publish","hentry","plugin_tags-session-storage","plugin_tags-session-tokens","plugin_tags-user-sessions","plugin_contributors-ethitter","plugin_committers-ethitter"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-redis-user-session-storage.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Store WordPress user session tokens in Redis rather than the usermeta table.<\/p>\n\n<p>This plugin was previously known as <code>WP Redis User Session Storage<\/code> and was renamed to comply with WordPress.org naming constraints. The previous class name is aliased to support existing extensions.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and configure Redis.<\/li>\n<li>Install the <a href=\"http:\/\/pecl.php.net\/package\/redis\">Redis PECL module<\/a>.<\/li>\n<li>Activate the plugin network-wide or by placing it in <code>mu-plugins<\/code>.<\/li>\n<li>By default, the script will connect to Redis at <code>127.0.0.1:6379<\/code>. See the <em>Connecting to Redis<\/em> section for further options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='connecting%20to%20redis'><h3>Connecting to Redis<\/h3><\/dt>\n<dd><p>By default, the plugin uses <code>127.0.0.1<\/code> and <code>6379<\/code> as the default host and port, respectively, when creating a new client instance; the default database of <code>0<\/code> is also used.<\/p>\n\n<p>Specify any of the following constants to set the necessary, non-default connection values for your Redis instance:<\/p>\n\n<ul>\n<li><code>WP_REDIS_USER_SESSION_HOST<\/code> - Hostname or IP of the Redis server, defaults to <code>127.0.0.1<\/code>.<\/li>\n<li><code>WP_REDIS_USER_SESSION_PORT<\/code> - Port of the Redis server, defaults to <code>6379<\/code>.<\/li>\n<li><code>WP_REDIS_USER_SESSION_SOCKET<\/code> - Path to a Unix socket file for the Redis server, if available. Takes precedence over the port value when set.<\/li>\n<li><code>WP_REDIS_USER_SESSION_AUTH<\/code> - Password for the Redis server, if required.<\/li>\n<li><code>WP_REDIS_USER_SESSION_DB<\/code> - Database number to use for the Redis server, defaults to <code>0<\/code>.<\/li>\n<li><code>WP_REDIS_USER_SESSION_SERIALIZER<\/code> - Serializer to use for the Redis server, defaults to <code>Redis::SERIALIZER_PHP<\/code>.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.2<\/h4>\n\n<ul>\n<li>Add cleanup routine for usermeta storage.<\/li>\n<li>Prepare plugin for WordPress.org release.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial public release<\/li>\n<\/ul>","raw_excerpt":"Store WordPress session tokens in Redis rather than the usermeta table.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/159886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=159886"}],"author":[{"embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ethitter"}],"wp:attachment":[{"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=159886"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=159886"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=159886"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=159886"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=159886"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mlt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=159886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}