Problem with multiple languages updating Rewrite rules
-
Hi, we detected that Polylang 2.8.2 is making a lot of updates in wp-options table. More specifically WHERE
option_name
= ‘rewrite_rules’ in wp-options.That updates produce bottlenecks and slow downs in our website because every time there’s a flush rewrite in our code, a new update to that field appear in our database. And this just happens constantly if multiple users open different pages in multiple languages.
Imagine you have:
– English
– Spanish
– ItalianIf 5 users visit multiple languages, we see a new update to rewrite_rules. Why is that happening? Similar issue described here: https://github.com/hyyan/woo-poly-integration/issues/248
Once we asign all pages to a unique language, problem disappear. How can we solve it in order to continue with Polylang in our website with custom post types?
Thanks!
- The topic ‘Problem with multiple languages updating Rewrite rules’ is closed to new replies.