Hi ,
I have a requirement to update the client library url with uniqueID if there is an update in the file. Also the URL for file should be consistent through all the publish instances to control the caching of libraries on AKAMAI
For example:
Base.css file url in author should be like this : /etc/designs/myproject/base.8aff76f8da9c7419c296fa68db664c.css
<8aff76f8da9c7419c296fa68db664c> : this is a unique id which we generate by using MessageDigest unique key .
In author mode i am getting all the css and js file with correct final url and the unique id is appended in the URL of file but when i replicated the package and design to publish instance then all the libraries appended with the same id in the URL.
The functionality is working fine on author instance but not able to figure out the reason of this behavior in publish mode.
Could any one please suggest what would be the reason for this behavior? Also please suggest if there is any other better approach to achieve this requirement.
Thanks in Advance
/RK