8
Reply

How will you reflect your javascript code changes to all the clients without having them to refresh the page?

Vineet Kumar

Vineet Kumar

Apr 03, 2015
4.3k
1

    I have used versioning. But problem has not solved.

    Pramod Verma
    January 06, 2016
    0

    It has to be called by adding different version from last one. You can use the same version that is of your build version. See the below example:myJavascript.js?3.0.1.2345

    Prasoon Abhinaw
    September 05, 2015
    0

    ETags may be used for this scenario .

    Divesh Pal
    August 31, 2015
    0

    How do you get your changed javascript code from server without any call?How versioning will help?

    Saravanan dhinakaran
    August 21, 2015
    0

    handle with JS version..

    As per as my knowledge is concern you need to maintain version.If you know browser will cache css,js, image file if you want always latest copy from server then use following line./Yourjavascript.js?1.

    Vaibhav Salwe
    May 30, 2015
    0

    Add versioning with js

    Madhuri Mishra
    May 01, 2015
    0

    Please refer this URL : http://stackoverflow.com/questions/118884/what-is-an-elegant-way-to-force-browsers-to-reload-cached-css-js-files

    Santhosh Subramaniam
    April 16, 2015
    0