Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 8:00 – 14:00 -
- 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 15:00 – 17:00 -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by Nigel 1 year, 4 months ago.

Assisted by: Nigel.

Author Posts
June 23, 2023 at 11:29 am #13883805

marinaL-8

activating Object Cache Pro plugin, changes in translations take time to reflect on site, while deactivating the cache plugin works fine.

Is there a solution to that like excluding WPML from the cache?

June 26, 2023 at 11:29 am #13894797

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Hi there

Let me take over here.

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.

June 28, 2023 at 2:50 pm #13911307

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

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.

June 28, 2023 at 2:58 pm #13911329

marinaL-8

Let me create the testing environment

Edit: here is the testing environment for you to test freely hidden link

June 28, 2023 at 3:33 pm #13912001

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

Thank you, I can access the site and have activated object caching.

Could you please just confirm where you normally observe the problem?

You translate products but the translated products are missing.

From where?

When you browse the shop in the second language (English)?

I'll see if I can reproduce the issue the same as you experience it.

June 28, 2023 at 5:04 pm #13912465

marinaL-8

Hi Nigel, thanks for your quick response.

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.

June 29, 2023 at 8:05 am #13915609

Nigel
Supporter

Timezone: Europe/Madrid (GMT+01:00)

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.