Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2131 Näkymät

I am having problems with using my Odoo 15 shop with Chrome and iOS devices.

The "add to cart" button isn't working. When pressed the item isn't added to the cart. Works just as expected in Firefox...


This is a self hosted solution using a docker container.


Maybe I need to add stuff to this container, but this is all not 100% clear to me.


Pretty weird, so any pointers are more than welcome!

/Tue

Avatar
Hylkää
Tekijä

Did some more testing and it seems to be related to a cache frontend (Varnish). When running directly against the Odoo container everything seems to work, buy when routed through the static file cache something goes wrong, and the dynamic "add to cart" button no longer works.

Any ideas?

Tekijä

When using Varnish i try to basically rely on whatever cache-control headers already supplied from Odoo, so everything looks similar.

When disabling user cache it seems to work everywhere, so some resources most require a shorter TTL.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
tammik. 23
1804
0
syysk. 22
512
0
helmik. 23
2002
0
marrask. 22
2532
1
elok. 22
5747