Skip to content
Snippets Groups Projects
Commit a506993c authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[IMP] website: add cache for _get_canonical_url_localized


This method is called at least once by lang by request. On a website of ~20
langs (e.g. on a staging of odoo.com) it improves the page speed to generate
a blog post of:
   45 0.028 0.056 with the cache
instead of
   79 0.076 0.095 without the cache

closes odoo/odoo#89709

Signed-off-by: default avatarJérémy Kersten <jke@odoo.com>
parent 60217a68
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment