Cache Bust

Try and force a download of some of the .js and .css files by using .js?timeOfDay and .css?timeOfday

HTML does not have a parameter to force a web browser to download a .js file or .css file.

The browser on my Android smartphone does not have a button to hard refresh a web page. You have to clear the cache.

My guestbook idea downloads data from ccgi.dougrice.plus.com/gb/gbookFxxx.js and I want the web page to download the latest version

It is not possible to download a webpage from multiple .htm files. You cannot do a simple client side include to have multiple .htm files that include a header fileand a body file. so I use javascript to to do a self.document.write() to do menus in /js/menu.js. My android does not have a HARD refresh button to force a fresh download of /js/menu.js. You have to clear the cache.

One trick is to add a query string /js/menu.js?number where number is different

So this page tries to download multiple files so they update the cached files used by other pages

I am not sure it works, but it is worth a go

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/script


https://www.dougrice.co.uk/js/menu.js