Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
Der Kunde erlebte deutlich langsamere Ladezeiten beim Speichern von Beiträgen in wp-admin, nachdem er den WordPress-Kern und alle Plugins aktualisiert hatte. Bei Tests wurde WPML als Hauptursache für die langsame Leistung identifiziert.

Lösung:
Wir führten isolierte Tests mit verschiedenen Konfigurationen durch, um die Ursache des Problems zu ermitteln. Hier sind die Schritte, die wir befolgt haben:

1) WPML + aktuelles Theme:
- 1 Aufruf sichtbar mit 1,42s
- alle anderen Aufrufe <1.30s

2) WPML + Standard-Theme:
- 1 Aufruf sichtbar mit 1-23s
- alle anderen Aufrufe <1.15s

Außerdem haben wir festgestellt, dass durch die Reaktivierung des W3 Total Cache-Plugins die Ladezeit bei 2 Aufrufen auf fast 4 Sekunden anstieg. Dies deutet darauf hin, dass W3 Total Cache die Ursache für das Problem sein könnte und nicht WPML. Wir empfehlen, die Tests mit der neuesten Version von W3 Total Cache zu wiederholen, um dies zu bestätigen.

Wenn die angebotene Lösung nicht relevant ist, weil sie veraltet ist oder nicht auf Sie zutrifft, empfehlen wir, ein neues Support-Ticket zu eröffnen. Wir empfehlen dringend, die bekannten Probleme zu überprüfen, die Version der permanenten Lösung zu verifizieren und sicherzustellen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben.

Wenn Sie weitere Hilfe benötigen, können Sie uns gerne in unserem Support-Forum kontaktieren.

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: 

This topic contains 8 replies, has 3 voices.

Last updated by Marcel 1 year, 1 month ago.

Assisted by: Marcel.

Author Posts
February 22, 2024 at 10:20 am #15332511

thomasA-35

We recently updated our WordPress core and all plugins. After the update, we noticed significantly slower loading times when saving posts in wp-admin.

After some testing (disabling various plugins and temporarily switching to a standard theme) we identified WPML as the main source for the slow performance. With WPML enabled, the various ajax calls that are necessary for saving a post take around 30 seconds. Without WPML, it takes only around half that time.

Is there something we can do to reduce these loading times? Working like this is a bit frustrating for our editors.

Thank you!

saving-post-without-wpml.png
saving-post-with-wpml.png
February 23, 2024 at 8:24 pm #15339316

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.

If you are unable to provide such a copy of the site for testing, please let me know on this ticket.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

February 27, 2024 at 4:58 pm #15350329

Marcel
WPML Supporter since 02/2019

Languages: English (English ) German (Deutsch )

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

Hi,

my name is Marcel and I will take over your tickets. I will check this on your live site and update you ASAP once I find something.

Best Regards
Marcel

February 29, 2024 at 3:49 pm #15359065

Marcel
WPML Supporter since 02/2019

Languages: English (English ) German (Deutsch )

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

Hi,

I checked a few pages, but I can't reproduce a loading time as viewable on your screenshots. Please let me know which specific pages you tested.

For example, "Impressum" shows 3.95s on post.php, and the Ajax calls are all around 2.26 - 2.37s when WPML is active.

Please let me know.

Best Regards
Marcel

February 29, 2024 at 5:23 pm #15359887

thomasA-35

Hi Marcel,

thank you for checking. I just tested it again, saving the "Impressum" page takes around 8s for post.php, the other ajax calls are between 2 and 3 seconds (with WPML active).
My screenshots above were from this blog post: wp-admin/post.php?post=1488343&action=edit&lang=de

Best Regards

March 1, 2024 at 4:54 pm #15364112

Marcel
WPML Supporter since 02/2019

Languages: English (English ) German (Deutsch )

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

Hi,

I receive the following values on "Impressum" as attached on the screen. So we have here a difference between our checks from 4sec.

As best, we first try to analyze the queries as described here: https://wpml.org/faq/how-to-debug-performance-problems/. Please let me know the affected queries to plan the next steps.

Best Regards
Marcel

loading.PNG
March 1, 2024 at 6:46 pm #15364551

thomasA-35

Hi Marcel,

I see, thank you for the screenshot. Your browser seems to split the request into two lines. In Safari, the two lines with post.php show up as one line, resulting the 8s time.
But anyways, our editors don't care about the timing of an individual ajax call. They care about the total time it takes to save a post, and this total time doubles with WPML activated.

I installed the Debug Bar Plugin, however I don't see an option to debug an ajax call with it. Maybe you can have a look?

Thanks!

March 4, 2024 at 3:33 pm #15370731

Marcel
WPML Supporter since 02/2019

Languages: English (English ) German (Deutsch )

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

Hi,

when trying to see the values isolated without 3rd party plugins, WooCommerce Product Feed caused a Fatal Error. Can you please check the FTP credentials so that I can re-enter the Backend? I get an "Access Denied"

Thank You!

Best Regards
Marcel

March 5, 2024 at 5:37 pm #15375966

Marcel
WPML Supporter since 02/2019

Languages: English (English ) German (Deutsch )

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

Thanks!

First, I tested it isolated (no other plugins activated):

1) WPML + actual theme:
1.42 - only 1 call viewable
all other calls <1.30s

2) WPML + Default Theme
1-23s - only 1 Call viewable
all other calls <1.15s

The 2nd call (on Chrome) is only viewable once I reactivate W3 Total Cache, which increases the loading time already to nearly 4 seconds (1.73s + 1.98s) for the 2 calls. Other calls <1.38s.

I tested this plugin first, as it showed errors in the Backend once it was deactivated. Therefore, it seems the root cause here is not WPML. Try first to replicate it using the latest version of this plugin.

Can you confirm this?

Best Regards
Marcel