This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
There is no way to force the browser to clear the cache of all the artifacts of your domain via javascript. I'm humbly suggesting a simple window.navigator (most likely) exposed method for flushing the native browser cache of all artifacts of your domain. Very useful for making sure the visiting client has a cleared cache for their next visit to your site / application. navigator.browserCacheClear(); //something like this. There would be no WRITE access to the cache, no inspecting READ access, but simply the ability to throw an API call in the hopes of your browser cache being cleared for your domain.
Moved to the HTML repo as issue 937: https://github.com/w3c/html/issues/937