Mantra Instance ID of the application running

When an application is launched by Mantra, the framework creates a configuration parameter named as "Mantra instance ID", with an unique value that can be used by all rendering views with the rendering name of "miid".

This id is used to guarantee that the browser doesn't cache a resource (like js or css files) given their names when the version of the application changes.

Just an example:

<script src="/vendors/cHj86MEkQpace.min.js"></script>

All files added by MantraAPI.AddJs() and MantraAPI.AddCss() includes automatically this intance id.

This value can get retrieved calling to MantraAPI.GetInstanceId().

Mantra adds the property "sanitizedPath" to Express Request object with the path without the instance id if it is included in it.