Contributors mailing list archives

contributors@odoo-community.org

Avatar

Re: initialization of qweb template caches on website

by
Agent ERP GmbH, Georg Notter
- 08/06/2020 12: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.

George

-- 


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 <alexandre.fayolle@camptocamp.com>
Antwort an: Odoo Community Association (OCA) Contributors <contributors@odoo-community.org>
Betreff: initialization of qweb template caches on website
Datum: Mon, 08 Jun 2020 12:22:39 -0000

Hello,

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
France

http://www.camptocamp.com


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference