Here is the answer
The file you’re seeing should be the same file with an MD5 checksum appended to the end – this allows us to set an infinite expiry date on the resource and ensures that the browser cache will never contain stale data because if the file contents changes the MD5 checksum will change and the browser will be forced to request the new version of the file. Surf caches the resources more aggressively than ever before so you may need to click on the “Clear Dependency Cache” button on the WebScripts home page to avoid restarting the server.
Other possibility is that you will see file names as *-min.js means all included script file names with pattern having “min.js” appended in end. You will again wonder, what is this?
These are minified, or compressed, to reduce the size of a given page and increase client-side performance.
Generally in development environment you want to use non-minified version of file to test your changes rapidly without server restart. To achieve that you need to add following entry in your share-config-custom.xml
<config replace="true"> <flags> <client-debug>true</client-debug> <client-debug-autologging>false</client-debug-autologging> </flags> </config> Share page in Debug Mode
Share page in Debug Mode