Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
7161 Widoki

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 ? 

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Autor

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...

Powiązane posty Odpowiedzi Widoki Czynność
2
sie 25
526
0
gru 24
1520
3
kwi 17
10462
1
sty 17
11249
0
kwi 16
4805