Redis Object Cache 2.1.5

Does Redis Object Cache work with WordPress 6.0.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
8PHP warnings
No JavaScript exceptions
All test pages loaded successfully
5Resource errors (CSS, JS, images, fonts and so on.)
  • 5 net::ERR_NAME_NOT_RESOLVED
Performance

Memory usage: 36.38 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.028 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/redis-cache/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

Redis Object Cache ‹ Test site — WordPress

Page screenshot: Redis Object Cache ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=redis-cache
Requested URL /wp-admin/plugins.php?action=activate&plugin=redis-cache%2Fredis-cache.php&plugin_status=all&paged=1&s&_wpnonce=b7b802d8bb
Aspect after-activation
HTTP status 200
Load time 0.419 s
Memory usage 3.89 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "[testSite]wp_redis_dir/assets/css/admin.css?ver=2.1.5",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

Settings → Redis

Page screenshot: Settings → Redis
URL /wp-admin/options-general.php?page=redis-cache
Aspect menu-item
HTTP status 200
Load time 0.293 s
Memory usage 3.73 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "[testSite]wp_redis_dir/assets/css/admin.css?ver=2.1.5",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

Settings → Redis → Metrics

Page screenshot: Settings → Redis → 
                            Metrics
URL /wp-admin/options-general.php?page=redis-cache
Aspect menu-item-tab
HTTP status 200
Load time 0.294 s
Memory usage 3.73 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "[testSite]wp_redis_dir/assets/css/admin.css?ver=2.1.5",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

Settings → Redis → Diagnostics

Page screenshot: Settings → Redis → 
                            Diagnostics
URL /wp-admin/options-general.php?page=redis-cache
Aspect menu-item-tab
HTTP status 200
Load time 0.170 s
Memory usage 3.73 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "[testSite]wp_redis_dir/assets/css/admin.css?ver=2.1.5",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.205 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.319 s
Memory usage 3.76 MiB
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "[testSite]wp_redis_dir/assets/css/admin.css?ver=2.1.5",
        "errorString": "net::ERR_NAME_NOT_RESOLVED"
    }
]

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.605 s+0.261 s3.72 MiB3.76 MiB+ 37.17 KiB
/wp-admin/edit.php0.207 s0.208 s+0.001 s3.75 MiB3.79 MiB+ 33.46 KiB
/wp-admin/post-new.php0.965 s1.149 s+0.184 s5.54 MiB5.59 MiB+ 41.82 KiB
/wp-admin/upload.php0.423 s0.349 s-0.074 s3.68 MiB3.71 MiB+ 32.33 KiB
/wp-admin/options-writing.php0.144 s0.144 s+0.000 s3.62 MiB3.69 MiB+ 76.23 KiB
/wp-admin/media-new.php0.431 s0.183 s-0.248 s3.66 MiB3.69 MiB+ 32.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.185 s-0.001 s3.69 MiB3.72 MiB+ 33.41 KiB
/wp-admin/post-new.php?post_type=page0.847 s0.986 s+0.139 s5.54 MiB5.57 MiB+ 33.41 KiB
/wp-admin/options-discussion.php0.205 s0.307 s+0.102 s3.6 MiB3.65 MiB+ 60.48 KiB
/wp-admin/edit-comments.php0.210 s0.217 s+0.007 s3.69 MiB3.73 MiB+ 32.31 KiB
/0.261 s0.198 s-0.063 s3.6 MiB3.59 MiB- 12.98 KiB
Average 0.384 s0.412 s+0.028 s4.01 MiB4.04 MiB+ 36.38 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Markdown
JavaScript
Language % Lines of code Comment lines Files
PHP74.6%3,3311,62417
Markdown12.4%55301
JavaScript9.4%42041
CSS3.6%15901
Total 4,463 1,628 20

PHP Code Analysis | More results »

Lines of code 2,664
Total complexity 665
Median class complexity 14.0
Median method complexity 3.0
Most complex class WP_Object_Cache
Most complex function WP_Object_Cache::connect_using_credis()
Classes 9
Methods 142
Functions 19

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Meta Boxes

{
    "dashboard": {
        "dashboard_rediscache": {
            "title": "Redis Object Cache",
            "context": "normal"
        }
    }
}

PHP Error Log 8 lines

[20-Jul-2022 19:53:56 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
[20-Jul-2022 19:53:57 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
[20-Jul-2022 19:53:58 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
[20-Jul-2022 19:53:59 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
[20-Jul-2022 19:54:01 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
[20-Jul-2022 19:54:03 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
[20-Jul-2022 19:54:10 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
[20-Jul-2022 19:54:11 UTC] PHP Warning:  Use of undefined constant WP_REDIS_DIR - assumed 'WP_REDIS_DIR' (this will throw an Error in a future version of PHP) in /wp-content/plugins/redis-cache/includes/class-plugin.php on line 284
See also: All tests for this plugin, How to Hide Redis Object Cache Admin Menus and Widgets