This question has been flagged
2 Replies
5848 Views

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
Discard

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

Best Answer

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

Avatar
Discard
Best Answer

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
Discard
Author

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