Is this combining the file on the server?
It is dynamically combining the JavaScript files on app startup and storing them in memory. When a request is done to ~/Combined-HASH.js
, Rejuicer handles the request and serves the combined files from memory. This is handled by RejuicerModule.
The {0}
is replaced by a hash of the file. It ensures that when any of the files are changed, the cache is invalidated (since the "file name" will be different). Rejuiced.JsFor
renders a <script>
tag with the correct URL including the hash.
Take a look at the documentation and website (web.archive.org mirror, the site no longer exists) for more information.