For live updates you should 100% be using a websocket
For live updates you should 100% be using a websocket
myfile.v1.js, myfile.v2.js, myfile.v3.js etcmyfile.latest.js that does a 303 redirect to whatever the current version ismyfile.latest.js:myfile.v*.js:private to public if these files aren't custom per-user.https://cdn.example.com/js/@teamname/productname@latest/index.js https://cdn.example.com/js/@teamname/productname@1.2.3/index.jsnor did Cloudflare support websocketsdang, that must have been quite some time ago



https://*.trustedexample/*?myfile.v1.jsmyfile.v2.jsmyfile.v3.jsmyfile.latest.jsmyfile.latest.jscache-control: private, no-transform, no-cache, no-store, max-age=0, s-maxage=0myfile.v*.jscache-control: private, immutable, no-transform, max-age=31536000, s-maxage=31536000privatehttps://cdn.example.com/js/@teamname/productname@latest/index.jshttps://cdn.example.com/js/@teamname/productname@1.2.3/index.jshttps://*.trustedexample/*