We currently have a development (dev) server and a production server and we will soon start using a CDN for our static resources. As a result, we would like to implement the most effective versioning system that will meet the following requirements:
- dev and prod will use the identical setup
- file changes are reflected as soon as we commit/deploy the files
- ideally only the files affected get a new version
Please keep in mind that dev commits from our SVN are very frequent and we are looking for an automated system that will take care of the versioning without replicating entire directories, etc.
Would love suggestions on the most effective way to implement the above since we are new to using a CDN.