HTML JS

FORCE BROWSERS TO RELOAD CSS JS

BROWSER FORCE RELOAD

Press and hold CONTROL (COMMAND in Mac), then click on the reload button.

Shortcut key - CONTROL-F5 or CONTROL-SHIFT-R

Keys will differ from browser to browser. Check with your browser's help document.

PROGRAMMATIC FORCE RELOAD

SIMPLY CHANGE FILE NAME <!-- <script src="FOO.JS"> -->  <script src="FOO-V2.JS">

OUTPUT CACHE-CONTROL HEADER. PHP EXAMPLE: header("Cache-Control: no-cache, must-revalidate");

APPEND DUMMY TIMESTAMP  <script src="FOO.JS?t=123">

APACHE EXPIRES HEADER <IfModule mod_expires.c>      ExpiresActive on      ExpiresByType text/css "access"   ExpiresByType text/js "access"   ExpiresByType text/javascript "access" </IfModule>