I have a PHP website with lot of JS and CSS files included with the tag. The problem is whenever I update any JS or CSS and then open my website, chrome is still loading old versions of the JS,CSS . I know client side we can force refresh by Ctrl+Shift+R , but it's too tough to instruct my website users to do this every single time.
I have tried these but still no luck. So please suggest a way to force the browser to reload JS from my server every time instead of cache.
<meta http-equiv="cache-control" content="no-cache"> <!-- tells browser not to cache -->
<meta http-equiv="expires" content="0"> <!-- says that the cache expires 'now' -->
<meta http-equiv="pragma" content="no-cache"> <!-- says not to use cached stuff, if there is any -->