You do not need to store multiple files. Just set up your rewrite module so that it overwrites each one /js/filename.vNNN.js
before /js/filename.js
.
As you can see the url
http://z-ecx.images-amazon.com/images/G/01/browser-scripts/us-site-wide-1.2.6/site-wide-11734552808.js._V169197_.js
indicates the same content as
http://z-ecx.images-amazon.com/images/G/01/browser-scripts/us-site-wide-1.2.6/site-wide-11734552808.js._V169174097_.js
does. Note on the last modified part
source
share