summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-03-13 15:16:10 +0000
committerRomain Derie <rde@odoo.com>2020-03-19 15:37:44 +0000
commit1d981f22f36b748c4c7b548e9db33284e7eefc6a (patch)
tree659ad3cad99371dd792b95c6de23bad51c605f52 /addons/web/static/src
parentf95af92ae3bc6bd7d7d4a9e09042bcca9f35ffec (diff)
[FIX] website: perf - prefetch website.menu's mega_menu_content
Since this field is not sanitized, it is safe (perf wise) to prefetch it. It should not be CPU heavy, plus whenever we access a `website.menu`, it is most likely we will read that field. with following structure, 5 SQL queries will be avoided: - Top menu - Home - Contact us - Sub Contact us - Sub Sub Contact us Related to #47257 task-2211013 X-original-commit: 20cddcd899e7a119fa9f365e62527499f8e5ff7d
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions