Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 891 forks source link

Slow to edit product category meta titles or descriptions #21399

Open amboutwe opened 4 months ago

amboutwe commented 4 months ago

Please give us a description of what happened

The issue is similar to https://github.com/Yoast/wordpress-seo/issues/19165 but occurs when editing a product category.

We have a rather large Woocommerce site with some 21,000 products, of which most are components of bundles or composite products. Therefore only 1800 live products.

To Reproduce

Step-by-step reproduction instructions

  1. Have a large complex WooCommerce setup with Yoast SEO
  2. Go to Admin > Products > Categories
  3. Edit a child category where the parent category has over 1000 assigned products
  4. Scroll to Yoast meta box
  5. Type a new SEO title or meta description
  6. Experience slowness

Complex WooCommerce setup Create at least 3000 products Create at least 1500 product categories of various depths (parent, child, or further) Assign a parent category to at least 1000 products Assign a child category of the above parent category to at least 5 products Assign at least 2 products to both the parent and child category.

Expected results

Normal edit times

Actual results

Slow to edit

Screenshots, screen recording, code snippet

screenshot_218

Screen recordings of the issue in ticket 1134458.

Technical info

Used versions

amboutwe commented 4 months ago

Please inform the customer of conversation # 1134458 when this conversation has been closed.