chat.freenode.net #tryton log beginning Wed 18 Dec 2019 12:00:01 AM CET | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 00:30 | |
-!- shadow98(uid236862@gateway/web/irccloud.com/x-hgztrqejvmamxhue) has joined #tryton | 03:00 | |
-!- yangoon1(~mathiasb@54-74-142-46.pool.kielnet.net) has joined #tryton | 03:22 | |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 05:50 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 07:07 | |
-!- rpit(~rpit@p200300C88F32F600A22070230F535743.dip0.t-ipconnect.de) has joined #tryton | 07:21 | |
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton | 07:23 | |
-!- rpit(~rpit@p200300C88F32F600A22070230F535743.dip0.t-ipconnect.de) has joined #tryton | 07:46 | |
-!- josesalvador(~josesalva@84.124.29.26.static.user.ono.com) has joined #tryton | 08:12 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:7e2a:31ff:fe5e:b25d) has joined #tryton | 09:36 | |
pokoli | cedk or nicoe: may I ask which tryton version is running jurasicfruit? | 09:51 |
---|---|---|
-!- cryptic(~cryptic@142.196.139.17) has joined #tryton | 09:53 | |
nicoe | pokoli: 5.2 if I recall correctly | 09:54 |
pokoli | nicoe: thanks | 09:56 |
pokoli | I have one webshop running on tryton 4.8 which is quite slow, I see jurassic fruit is faster | 09:56 |
pokoli | I have to dig in in order to improve the performance | 09:57 |
nicoe | cedk did a lot of work to improve the speed of jurassic which involved using a cdn, some caching, etc | 09:58 |
pokoli | nicoe: caching of static files? | 10:01 |
nicoe | pokoli: no, caching of prices, of some elements on the page, etc | 10:50 |
nicoe | pokoli: cdn I guess are caching static files | 10:50 |
-!- thaneor(~lenovo3@r179-24-10-140.dialup.adsl.anteldata.net.uy) has joined #tryton | 11:19 | |
-!- rpit(~rpit@p4FFB778E.dip0.t-ipconnect.de) has joined #tryton | 11:46 | |
-!- mariomop(~quassel@181.228.29.59) has joined #tryton | 12:36 | |
cedk | pokoli: the biggest issues was the computation of price list | 13:03 |
cedk | pokoli: so I store for 24h the result in a memcached | 13:04 |
cedk | pokoli: but also I have a warmup route that is called every 15 mins that refresh the computation of few random products | 13:04 |
cedk | I use flask-caching to manage cache inside flask | 13:04 |
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton | 13:05 | |
cedk | but also I try to avoid browse record cache unaligned | 13:06 |
cedk | and when possible I also cache the rendered parts | 13:06 |
cedk | and finally use async JS query when possible | 13:07 |
cedk | in JS, the cart is not rendered if not visible but fetch asynchronously when the user click to slide in the cart | 13:07 |
cedk | because rendering sale total is expensive | 13:08 |
cedk | so finally I try to render pages below 400ms | 13:08 |
pokoli | cedk: wow, thanks I will take note | 13:39 |
pokoli | I think that adding flask-cache will provide some benefit | 13:40 |
pokoli | I just need to check the code to determine which is the heavy part | 13:40 |
pokoli | I will try to update with my progress | 13:40 |
-!- josesalvador(~josesalva@170.253.41.74) has joined #tryton | 15:44 | |
-!- SimAlbertiBeltra(sim6matrix@gateway/shell/matrix.org/x-dmontakkwtlqsayk) has joined #tryton | 17:56 | |
-!- thaneor1(~lenovo3@r179-25-175-138.dialup.adsl.anteldata.net.uy) has joined #tryton | 18:10 | |
-!- rpit(~rpit@p200300C88F32F600A22070230F535743.dip0.t-ipconnect.de) has joined #tryton | 18:20 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!