Contributors mailing list archives

Browse archives


Re: initialization of qweb template caches on website

Agent ERP GmbH, Georg Notter
- 08/06/2020 14:38:36
Hello Alexandre,

We once did a caching, for a qweb-part with was "heavy" in rendering.

It was not a module but i can send you some lines of code for inspiration if you want.



Mit freundlichen Grüßen

We look forward to see you. Best Regards

Dipl. Ing. (Fh) Georg A. G. Notter

Agent ERP GmbH

-------- Weitergeleitete Nachricht --------
Von: Alexandre Fayolle <>
Antwort an: Odoo Community Association (OCA) Contributors <>
Betreff: initialization of qweb template caches on website
Datum: Mon, 08 Jun 2020 12:22:39 -0000


A customer (odoo 12.0) here is facing a performance issue related to
qweb templates on the website. The first time a worker serves these, we
get terrible performance. I suspect we are not the only ones facing
this. Using an external service to GET /shop for instance on a regular
basis sort of alleviates this, but this is really unelegant.

Is there a killer module I missed which is able to preload the cache for
a number of views each time a worker is started? Or some other strategy?

Thanks for your feedback

Alexandre Fayolle
Chef de Projet
Tel : +33 4 58 48 20 30

Camptocamp France SAS
18 rue du Lac Saint André
73 370 Le Bourget-du-Lac

Post to: