Replies: 2 comments 4 replies
-
Point 4 is an interesting one. And is a part of the system that I've never really liked - many years ago the presence of cache keys in the database caused me problems in a load test due to duplicate keys. The database is being his for cache related matters when This is creating keys in the format It'd be worth looking to see if we can collect all these cache key objects together and bulk create them. |
Beta Was this translation helpful? Give feedback.
-
Just a comment here, this wasn't an issue for us with the same amount of data ( if not more ) on v3, it's only since v4 that we've had this issue, i know djangocms-versioning has it's own CMSMenu class, theres a potential this issue is caused here? |
Beta Was this translation helpful? Give feedback.
-
It's been raised on discord that the
_build_nodes
process from the menu system can cause problems for projects with many pages/languages.To save people looking to discord for the details;
The code causing this is here and it know's that it's slow/problematic as the doc string starts...
This code has existed as it is since the beginning of the project, coming from 2010
AI suggestion
With such old code we've no experts in this area, so I've taken some input from Jetbrains AI;
Beta Was this translation helpful? Give feedback.
All reactions