Service workers allow you to control cache in web apps; you may be a bit out of date.
There are hardware APIs for some stuff that only works in native (cors, raw tcp), but 99% of apps don't need those.