Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
7200 Lượt xem

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 ? 

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
578
0
thg 12 24
1546
3
thg 4 17
10507
1
thg 1 17
11281
0
thg 4 16
4814