B4J Question [BANano] How to use the Cache API to cache HTTP Requests and Responses?

Mashiane

Expert
Licensed User
Longtime User
Hi there

Is it possible to achieve this with BANano. Apparently its part of the Service Workers stuff.


Any thoughts and ideas?

Thanks in advance.
 

alwaysbusy

Expert
Licensed User
Longtime User
When setting BANano.TranspilerOptions.UseServiceWorker = true (or BANano.TranspilerOptions.UseServiceWorkerWithUpdateMessage in an upcoming version) this is already done by BANano automatically using this Cache API. The API itself will not be exposed, as it is all part of the plan 'to keep everything as simple as possible'.

Alwaysbusy
 
Upvote 0
Top