[Solved] Support for Cache API

New features which should be implemented in Porteus Kiosk Edition and the kiosk wizard.
Post Reply
thewiz
White ninja
White ninja
Posts: 11
Joined: 08 Oct 2017, 16:53
Distribution: Ubuntu

[Solved] Support for Cache API

Post#1 by thewiz » 30 Nov 2018, 18:08

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
Last edited by thewiz on 01 Dec 2018, 08:57, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 5286
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Support for Cache API

Post#2 by fanthom » 30 Nov 2018, 19:55

Please disable private mode and use full persistence:
https://porteus-kiosk.org/parameters.html
Please add [Solved] to your thread title if the solution was found.

thewiz
White ninja
White ninja
Posts: 11
Joined: 08 Oct 2017, 16:53
Distribution: Ubuntu

Support for Cache API

Post#3 by thewiz » 01 Dec 2018, 08:57

Thanks!

-JM

Post Reply