Aggressive JavaScript caching

前端 未结 9 1011
北荒
北荒 2020-12-24 08:45

I\'ve run into a problem where I make changes to a few JavaScript files that are referenced in an HTML file, but the browser doesn\'t see the changes. It holds onto the copy

9条回答
  •  借酒劲吻你
    2020-12-24 09:20

    We append a product build number to the end of all Javascript (and CSS etc.) like so:

    
    
                                     
                  
提交回复
热议问题