Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Integrate redis-cache in Plugin

$
0
0

Replies: 0

Hello,

I’m trying to integrate “Redis Object Cache” in my plugin.

I copied entire redis-cache folder in my plugin and I required the main file (using the after_setup_theme hook).

All seems to work well but the Redis connection is not working.

Here the report:

Status: Not Connected
Client: Predis
Drop-in: Valid
Ping: PONG
Redis Extension: Not Found
Predis Client: 1.1.1
PHP Version: 7.3.16
Redis Version: Unknown
Multisite: No
Global Prefix: "wpgh_"
Blog Prefix: "wpgh_"
Global Groups: [
    "blog-details",
    "blog-id-cache",
    "blog-lookup",
    "global-posts",
    "networks",
    "rss",
    "sites",
    "site-details",
    "site-lookup",
    "site-options",
    "site-transient",
    "users",
    "useremail",
    "userlogins",
    "usermeta",
    "user_meta",
    "userslugs"
]
Ignored Groups: [
    "counts",
    "plugins",
    "blog-details",
    "blog-id-cache",
    "blog-lookup",
    "global-posts",
    "networks",
    "rss",
    "sites",
    "site-details",
    "site-lookup",
    "site-options",
    "site-transient",
    "users",
    "useremail",
    "userlogins",
    "usermeta",
    "user_meta",
    "userslugs",
    "blog_meta",
    "themes"
]
Unflushable Groups: []
Dropins: 
 - Query Monitor Database Class v by 
 - Redis Object Cache Drop-In v1.5.7 by Till Krüss
Plugins: 
 - Query Monitor v3.5.2 by John Blackbourn (Active)
 - My Plugin (Active)

As you can see Redis is not found at all.

If I install the plugin with thw common way it work perfectly (deeply reducing the time of my queries).

Have you some advice to integrate your plugin into another plugin?

Thanks a lot!

Best Regards

  • This topic was modified 1 minute ago by unCommons.

Viewing all articles
Browse latest Browse all 59525

Trending Articles