We don't currently have clear documented suggestions for how to optimise the various popular caching solutions (internally or externally), but we probably should.
I'm discussing this with my colleagues at the moment. Please bear with me while I await some feedback that I can share with you, and in the meantime continue to manually flush the cache when you notice these problems occur.
Would it be possible to get access to your site for some tests, to try to help identify the best way to automate this so that you do not have to manually flush the cache?
I'd like to temporarily install a debugging plugin (Query Monitor) that can help identify the caching groups used on the problem pages.
To clarify, the problem concerned translated products not appearing on the front end until the cache had been cleared, yes? (In the shop page? Or the translations via the language switcher were missing when viewing individual products?)
If you have a staging server that has the same caching available which experiences the same problem then please provide access to that rather than your production server.
If that's agree please share credentials in your next reply, which I have set as private.
Yes, after translating to secondary language the translated products were not immediately visible on the front end of the product archive pages in the front end.
These only became available after flushing the cache from Object Cache Pro and deactivating the plugin.
I tried but was unable to reproduce the problem on the staging site.
Could you please check to see if you can?
I published a test product (in Italian), and confirmed it appeared on the shop page on the front end.
I went to WooCommerce > WooCommerce Multilingual & Multicurrency, which lists the products, and clicked the link to translate it to English. I completed the translation (in ATE) and returned to the list of products. After a couple of seconds once the spinner had updated to the pencil icon (indicating the database had been updated with the translation) I visited the shop page on the front end, switched to English, and the translated product was shown.
The object caching is active, so I expected it not to be.
Could you please see if you can reproduce the problem?
The topic ‘[Closed] How to exclude WPML from the Object Cache Pro?’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.