summaryrefslogtreecommitdiffstats
path: root/assets/root/sw.js.bvr (follow)
Commit message (Collapse)AuthorAgeFilesLines
* uhhh, didn't even test ):sijanec2020-06-081-21/+25
|
* added update mechanism, DO NOT MERGE b4 seeing commit notes!sijanec2020-06-081-106/+129
| | | | | | | | | | | | | | | | | this "update mechanism" only deletes old caches. old means caches that are caches with names other than the name in cache_name.txt. It is important not to cache cache_name.txt and always serve it with HTTP headers that allow no HTTP level caching. Update checking occurs every 300 seconds and if a new cache is released and sw.js is not reinstalled, this timer will clear the cache. the old update method did not work since it relied on sw being reloaded often, which is not the case on iPhone devices, where Safari runs almost the whole uptime of the phone and it's not common for people to shut down their precious little iPhones. it worked on android as android is known for killing apps and chrome is no exception.
* latest_commit is not actually latestsijanec2020-05-201-1/+1
|
* maybesijanec2020-05-201-1/+4
|
* dist should work, TODO: minify and bundlesijanec2020-05-171-0/+147