|
|
|
|
|
by diggan
2470 days ago
|
|
You don't necessary need to use a hash based on randomness. Either using the git commit as the version/hash or a hash based on the content of the file itself works. So as long as your entrypoint and it's references are versioning, everything follows from that. So if I load version A of index.html, it also points to version A of the scripts/styles. If you load version B, you get version B of the scripts/styles, since everything is versioned the same way. |
|
Often you have a bundle of library code that you rarely ever push changes to, and you don't want your clients to download each time you make minor changes.