Page 1 of 1

[Solved] Support for Cache API

Posted: 30 Nov 2018, 18:08
by thewiz
I'm looking at options for storing pages and content in general for offline use. I've seen there's a file://-based method for accessing such content. However, I would like to have a more web-based solution, that can be updated by the browser itself when needed, rather than pushing files over SSH. The Cache API, along with web workers, seem quite appropriate here:

https://developers.google.com/web/funda ... /cache-api

Is this something that can be used on Porteus Kiosk? Since it's built into Chrome, I would guess so. The main question is, how can I control where such data is stored? In this case, I would like to use a write-enabled USB as storage, where any "unused" space on the USB could be allocated for such use.

Can Porteus Kiosk be configured to accomodate this use case?

-JM

Support for Cache API

Posted: 30 Nov 2018, 19:55
by fanthom
Please disable private mode and use full persistence:
https://porteus-kiosk.org/parameters.html

Support for Cache API

Posted: 01 Dec 2018, 08:57
by thewiz
Thanks!

-JM