On post create/edit page WP fetching all tags causing server slowdown
-
Every time I try to update or create a new post my whole site slows down. So I decided to inspect what’s happening and found a bunch of requests fetching all my tags page by page.
On my site, there are almost 5000 tags which means that the site is fetching 50 pages of tags.
This is URL:
/tags?per_page=100&orderby=count&order=desc&_fields=id%2Cname&search=a&_locale=user&page
tags?per_page=100&orderby=count&order=desc&_fields=id%2Cname&search=a&_locale=user&page=2
…
tags?per_page=100&orderby=count&order=desc&_fields=id%2Cname&search=a&_locale=user&page=50Requests are appearing with page load until it counts all pages. Every time I interact with tags field on the right sidebar the same process repeats.
I tried to disable all plugins and the problem still persists.
I’m on WordPress 5.3, the problem persisted on 5.2 version, but not sure for 5.1.
- The topic ‘On post create/edit page WP fetching all tags causing server slowdown’ is closed to new replies.