דלג לתוכן דלג לסרגל צד
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

אזור זמן של התומך: Europe/Vienna (GMT+01:00)

נושא זה מכיל 0 1, יש ל 1קוֹל.

עודכן לאחרונה על ידי Jasmin לפני חודש 3.

בסיוע: Lucas Vidal de Andrade.

מחבר פוסטים
נובמבר 5, 2025 ב-8:02 am #17548401

Jasmin

Background of the issue:
We have a problem updating the site using WPML, either modifications or translation itself, as well as Menu sync. We hired a developer who found that the WPML menu sync feature is resource-intensive, causing Cloudflare to time out. The developer attempted several optimizations, including clearing the PYS events queue table, installing the WP-Optimize plugin, and logging database queries. They also tried running menu sync via CLI and considered caching options like Kinsta's Redis cache. The issue seems to be related to the n+1 query problem due to the high number of menu options and languages.

Symptoms:
Menu sync feature in WPML is causing Cloudflare to time out due to high resource usage and a large number of database queries.

Questions:
Can WPML authors suggest a workaround or patch to make the menu sync feature less resource-intensive?
Is there a way to solve the n+1 query problem in WPML's menu sync feature?
Can WPML stream output to prevent Cloudflare from timing out?

הנושא '[סגור] Menu sync time out issue – workaround or Patch?' סגור לתגובות חדשות.