How can I force clients to refresh JavaScript files?

后端 未结 26 2878
旧时难觅i
旧时难觅i 2020-11-22 03:40

We are currently working in a private beta and so are still in the process of making fairly rapid changes, although obviously as usage is starting to ramp up, we will be slo

26条回答
  •  忘掉有多难
    2020-11-22 04:26

    For ASP.NET pages I am using the following

    BEFORE

    
    

    AFTER (force reload)

    
    

    Adding the DateTime.Now.Ticks works very well.

提交回复
热议问题