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

I am trying to make POS Offline using service workers by caching all the static files, which went well (Of course we would need internet for the very first loading of the POS, so that the files and API's can be cached).

The problem i am facing is while caching HTML returned from  "/pos/web" api which is the first call.

Has anyone tried this before? Any suggestion or help ? 

Avatar
Hylkää

I think your question is better placed in the mailing list: https://www.odoo.com/groups/functional-questions-528941

Paras vastaus

If someone did finish a solution like this I am ready to buy it, please contact me bessam.dj@gmail.com

Avatar
Hylkää
Paras vastaus

Hi,

How are you doing?
Have u solve this cases?

Fyi, I've successfully implemented service-worker.js in one of my Odoo website project before by caching all its css and js.

Now, I'm doing the same for my POS project.

Will update you if it's successful.

Avatar
Hylkää
Tekijä

No... due to the shortage of time, we didn't go further with research.

But I would love to know if you can do it and how...

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
elok. 25
552
0
jouluk. 24
1532
3
huhtik. 17
10491
1
tammik. 17
11270
0
huhtik. 16
4811