Recently we have added a new javascript function which is called in one of our jsp file and when for the first time we have deployed the ear file with new js file , I was getting an error as "javascript function is not defined" and when we tried after a half day , I was able to see new javascript function , same in the case of QA Environment , so wanted to know what is the default cache time of Javascript files in IE11 and Chrome. Also will the cached javascript file cleared out by itself withput refresing the page or clearing the cache manually and new Javascript file from ear file be picked up in prod environment as well ? We are hosting our application using JBOSS server.
Any Help would be appriciated. Thanks in Advance.