1

How to handle the changes in the validation in java scripts or adding additional validation in the java scripts?

We need to refresh the browser cache to reload the updated java scripts.

Is there any optimized way to handle the reloading automatically and using the cache when it is required.

velmurugan
  • 11
  • 3
  • Check the header on your JS file. You can configure it so that the client will ask the server if the file needs to be re-downloaded: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9. **EDIT**: This might help too: http://stackoverflow.com/questions/4423061/view-http-headers-in-google-chrome – aebabis Jan 31 '14 at 16:37
  • If you're using Apache, I think this is your answer: http://www.askapache.com/htaccess/htaccess.html#Implementing_Caching_Scheme_htaccess – aebabis Jan 31 '14 at 16:59

0 Answers0