There was a way to make a permanent site installation on most browsers using HTML5 appcache, which even the web host couldn't update, but that API is deprecated in favor of the service worker's Cache API.
It's not clear to me that the Cache API offers the same level of security guarantee.
It's not clear to me that the Cache API offers the same level of security guarantee.