Saturday, November 12, 2011

Why Java script changes made are not reflecting in the output? OR Java script changes are working in the local machine but not reflecting when application is deployed in the server

It is a common problem faced by most of the web application developers.
Reason is java script files(.js files) are cached in the local machine to improve the performance of the system.So web application is referring to the stored version of the java script file.

Solution
Clear the browser cache,temporary internet files and run the application again.
In IE,Go to Tools -> Internet Options->Temporary Internet files ->Click on settings
Set Check for newer versions of the stored pages to Every visit to the pages.

If the application has the configuration file for the cache timeouts ,change the configurations to decrease the cache timeout for java script.

No comments:

Post a Comment

Resolve "Target runtime Apache Tomcat v6.0 is not defined." error

Go to window ->preferences ->Server->Runtime environments . add server Apache Tomcat v6.0 Mention the directory where apache-toma...