• Resolved rashkoff

    (@rashkoff)


    Hello,
    I’m trying this plugin in woocommerce site and in backend there’s significant speed up to workflow. Still need to test but it’s good first impression.

    I’m discovering problems with the forntend. Using WP rocket and somehow Redis “override” WP Rocket cache.
    Also when run # redis-cli monitor and navigate in forntend I see all the process of Redis. Also make some mess to the footer of the website, ignoring all css styles.

    Is it possible to limit the plugin only for the backend and not interfere to front and WP Rocket cache?

    Thanks

    Ricky

Viewing 13 replies - 1 through 13 (of 13 total)
  • Micha

    (@michapaashuis)

    following. I use the same configuration but did not activated Redis jet. Did activated and test Redis but find no issues. Switched it off because I saw no faster site.
    Want to run more tests with this combination.

    Plugin Author Till Krüss

    (@tillkruess)

    Is it possible to limit the plugin only for the backend and not interfere to front and WP Rocket cache?

    No. WordPress and your plugins decide how to use the object cache. This plugin is just providing a connector from WP to Redis, but doesn’t cache anything by itself.

    Thread Starter rashkoff

    (@rashkoff)

    if use groups exclusion is it possible to isolate some part of the front-end objects?

    Can you point me where / how to find the exact group name of plugin or other wp elements so I can do some test?

    Thanks

    Plugin Author Till Krüss

    (@tillkruess)

    Object caches don’t differentiate between backend and frontend. It’s all the same.

    You can use the “Debug Bar” plugin to see what’s being cached.

    Thread Starter rashkoff

    (@rashkoff)

    this one?
    https://www.ads-software.com/plugins/ultimate-debugbar/

    can you tell me where I can read the group name of something… for ex of plugin or other object / theme etc…?

    Plugin Author Till Krüss

    (@tillkruess)

    Thread Starter rashkoff

    (@rashkoff)

    ok, yesterday I find it after a little searching.

    In object cache there are several items. How can I understated which should I take?

    this is small extraction:
    wp:default:is_blog_installed – 0.01k
    wp:options:notoptions – 10.28k
    wp:options:alloptions – 2,120.42k
    wp:site-options:1-notoptions – 0.01k
    wp:options:_icl_cache – 38.29k
    wp:get_user_admin_language:0 – 0.01k
    wp:options:wpseo-premium-redirects-base – 1.93k
    wp:convert_url:1c8f5eb82baa693c243581c7091632c5 – 0.05k
    wp:options:uninstall_plugins – 2.47k
    wp:plugins:plugins – 71.59k
    wp:berocket_framework_option:br-products_label-options – 1.74k
    wp:freemius:fs_accounts – 43.35k
    wp:freemius:fs_cache_700 – 0.01k
    wp:options:backwpup_cfg_hash – 0.01k

    How can I exclude a group object?
    something like this:

    define( ‘WP_REDIS_IGNORED_GROUPS’, [ ‘backwpup_cfg_hash’ ]);

    Thanks

    Plugin Author Till Krüss

    (@tillkruess)

    
    define('WP_REDIS_IGNORED_GROUPS', [
      'counts',
      'plugins',
      'backwpup_cfg_hash',
    ]);
    
    Thread Starter rashkoff

    (@rashkoff)

    this goes to wp-config, just o be sure?

    how many is possible to add to this function?

    thanks

    Plugin Author Till Krüss

    (@tillkruess)

    Top of your wp-config.php file.

    You can add unlimited groups.

    Thread Starter rashkoff

    (@rashkoff)

    Hello

    I did all of this, but still see the objects.. Also restart the server, clean the cache, clean the browser cache…

    this the config in top wp-config

    define(‘WP_REDIS_IGNORED_GROUPS’, [
    ‘counts’,
    ‘plugins’,
    ‘wishlist-items’,
    ‘wishlists’,
    ‘convert_url’,
    ]);

    this is the result:

    wp:wishlists:wishlist-default-1 – 0.01k
    wp:wishlists:wishlist-id-1 – 0.29k
    wp:wishlists:wishlist-token- – 0.29k
    wp:wishlist-items:item-222621 – 0.29k
    wp:wishlist-items:item-137880 – 0.29k
    wp:wishlist-items:item-237165 – 0.29k
    wp:wishlist-items:item-214941 – 0.29k
    wp:wishlist-items:item-216822 – 0.29k
    wp:wishlist-items:item-222609 – 0.29k
    wp:wishlist-items:item-8 – 0.27k

    this is the diagnostic:

    Status: Connected
    Client: PhpRedis (v5.2.1)
    Drop-in: Valid
    Ping: 1
    Redis Extension: 5.2.1
    Predis Client: 1.1.1
    PHP Version: 7.3.17
    Redis Version: 3.2.12
    Multisite: No
    Global Prefix: “wp_”
    Blog Prefix: “wp_”
    WP_REDIS_IGNORED_GROUPS: [“counts”,”plugins”,”wishlist-items”,”wishlists”,”convert_url”]
    Global Groups: {
    “0”: “blog-details”,
    “1”: “blog-id-cache”,
    “2”: “blog-lookup”,
    “3”: “global-posts”,
    “4”: “networks”,
    “5”: “rss”,
    “6”: “sites”,
    “7”: “site-details”,
    “8”: “site-lookup”,
    “9”: “site-options”,
    “10”: “site-transient”,
    “11”: “users”,
    “12”: “useremail”,
    “13”: “userlogins”,
    “14”: “usermeta”,
    “15”: “user_meta”,
    “16”: “userslugs”,
    “33”: “blog_meta”
    }
    Ignored Groups: [
    “counts”,
    “plugins”,
    “wishlist-items”,
    “wishlists”,
    “convert_url”,
    “themes”,
    “wordfence”,
    “wordfence-ls”,
    “WPML_ST_Package_Factory”,
    “atum-stock-manager-for-woocommerce”
    ]

    What I’m doing wrong?

    Thanks

    Plugin Author Till Krüss

    (@tillkruess)

    Please open an issue here:

    https://github.com/tillkruss/redis-cache

    Thread Starter rashkoff

    (@rashkoff)

    OK, i did it.

    Is it possible to limit Redis to logged-in users by user role type?
    So Redis show not work to differ user role …
    If I run Woo-commerce to disable Redis to logged-in users which has client role.

    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Frontend / backend’ is closed to new replies.