I am currently playing with build / deploy script to minimize static resources. Following good practice, I would like to set the expire header in the future for most of my javascript, style sheets, and images.
To my question, when one or more static files changed, clients should request the latest version of the file. Will something like /css/style.css be added ? 1235 after the URL is enough to trigger a new request? Or do I need to rename all my static files for each assembly (something like / css / style _12345 .css)?
Update. To clarify, the reason I'm asking is because I noticed that many other deployment scenarios seem to take the "hard" path by renaming each file.
source share