I was asked if Cache Cleaner invalidates browser caches and I don't know the answer. This was asked after a video I made showing Dimitris Grammatikogiannis' invalidate-cache plugin which refeshes the mediaversion hash.
My guess is "yes" because by deleting the cache a new hash is created on the refresh. Am I correct?
No, it does not delete browser cache.
It also doesn't update the mediaversion in the database or joomla.asset.json files like that plugin does.
But I could look into adding that to Cache Cleaner...
Sorry for not giving you the link to the plugin I was referring to - didn't want to give you extra searching to do.
The genesis of that plugin was this twitter thread where I shared my video about Elyse Foltyn's website that helps clients empty their browser cache. You'll see that DG commented about it and then programmed the plugin.
If you think it would be a good added feature for Cache Cleaner to help solve that browser cache issue I say, "Go for it!" I know sometimes even after emptying the cache of a J site I am working on I cannot get my browser to reload new css - even with Ctrl-shft-r (of course it could be something else.)
I tested this and it did indeed change the media version of files in the /media folder:
ie. /media/system/js/core.js?3df32df979c2f7f52ea5c12b1079f875
In my testing I did notice that the version wsa not changed on files in some other folders:
ie. /plugins/system/jcemediabox/js/jcemediabox.min.js?d67233ea942db0e502a9d3ca48545fb9
or /plugins/system/jcemediabox/css/jcemediabox.min.css?0072da39200af2a5f0dbaf1a155242cd
Of course, maybe "/plugins/system" dones not need to be changed?
I tried this on two J4 sites and the only other files I saw with what looked to me like media version addons were within sub folders of /plugins/system