n-ce / ytify

Opus Audio Streaming Web App for YouTube. Stop watching, Listen & Save Data.
https://ytify.netlify.app
GNU General Public License v3.0
131 stars 47 forks source link

Prompt Updates #147

Closed n-ce closed 6 months ago

n-ce commented 8 months ago

Implementation

Advantages :

n-ce commented 8 months ago

Totally Forgot about this chrome_screenshot_1 Nov 2023 23_32_28 GMT+05_30 https://vite-pwa-org.netlify.app/guide/auto-update.html

😥😥 Now have to figure out a way to migrate without losing user data.

n-ce commented 8 months ago

Okay here's the plan so far : I will implant a swDetonator in the latest production with an if condition that will detonate it only when it detects a commit message that contains the string 'detonate'. Then prod will not receive any updates for X amount of time. Then when X time finishes, I will release the new sw for production with the commit containing the string 'detonate'. Here X amount of time denotes the Service Worker Cache retention time. Having this time range before detonation will ensure all users are on the latest version to support detonation.