3 ms·
It is my opinion that the content of the file is a more reliable source for the hash than the modified time of the file. For our build, with a large volume of
by reggieband 10y ago
It is my opinion that the content of the file is a more reliable source for the hash than the modified time of the file.
For our build, with a large volume of assets and some very large sizes, it is more efficient to write the hash into the filename to save on time syncing to the CDN origin. We also need to maintain the ability to do quick rollbacks, so unique filenames per version help. That will not apply in all cases.
Other than those points, I think we agree? An automated hash based on some unique portion of the file is better than a sequential version.