This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Performance
This topic contains 2 replies, has 2 voices.
Last updated by Lucas Vidal de Andrade 1 year, 2 months ago.
Assisted by: Lucas Vidal de Andrade.
Author | Posts |
---|---|
November 16, 2023 at 5:05 pm #14829467 | |
mirteM |
I have been having an issue with Redis & Woocommerce since the summer but can’t figure out the solution. Could you help me understand it? This is what they send me via mail: Thanks for getting back to us on this. From what I can see, the product attribute lookup table is still constantly regenerating. At times, the database entries and the number of products listed in the regeneration button (that is the (120) shown in your screenshot) do not match unless the Redis Object Cache is cleared. It appears that you may need to add options to your Redis ignored groups. I would do this only as a test. Please enable WP_DEBUG and WP_DEBUG_LOG at the start of the test. (https://wordpress.org/documentation/article/debugging-in-wordpress/#example-wp-config-php-for-debugging) Redis object cache allows WordPress users to exclude certain groups from being cached, which would cause the keys of the ignored groups never to be stored in Redis. It can be done by using the WP_REDIS_IGNORED_GROUPS WordPress constant in the wp-config.php file. define( 'WP_REDIS_IGNORED_GROUPS', [ 'options']); This does not address the issue of the regeneration being generated on every page load, but it may give us an indication of why the process is not completing. Once we have run the test and have some results, please re-enable options, as this is a key component to Redis caching. Redis Object Cache answer: However you can ignore certain cache groups like options, which might make WPML work, but all WordPress options won’t be cached anymore. |
November 16, 2023 at 6:33 pm #14829881 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, could you kindly provide us access to a staging environment of your website? We want to have a clear understanding of the issue. Also, if you could provide us with the steps to reproduce this issue. Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you. IMPORTANT - Please make a backup of site files and database before providing us access. hidden link |
November 17, 2023 at 6:51 am #14831923 | |
mirteM |
I can not give you a staging environment as I do not currently have one. It would also be rather difficult for you to find the issue as the time-outs happen 5 times per day and it is a busy site. I just want WPML to be fully compatible with Redis. It is a core technology. Can I get a timeline on how far you are along on this project? The Redis plugin team seemed rather pissed off about it tbh. Clearly stating WPML does not work with Redis |
November 18, 2023 at 9:43 am #14867387 | |
mirteM |
The slowdown in Redis may be resolved with the latest update of their plugin. |