Clearing the cache

HI,
I use the portable version of V93.0 64 bit on a windows 11 pc.
Is there a way to have the cache ( “C:\Portables\MKVToolnix\cache\fileIdentifier” ) cleared automatically or in the gui? I’m not good with writing/using scripts :frowning:

Welcome!

The cache is only used if the following criteria are met for any given file:

  • the file name’s identical
  • the file’s size is identical
  • the file’s “last modification” timestamp is identical
  • the current GUI’s version number is identical to the one stored in the cache

If any of those checks fail, the cache entry is deleted automatically when a file is identified.

Thanks for your answer.
II guess I must have one of my setting wrong, as the cache isn’t cleared. I only noticed it when I had an abnormally large number of files during back up operations.

Oh, you mean general cleanup for old cache files. Hmm, I don’t have a mechanism for that yet, but that’s a good idea.

What I described earlier was just the process when you add a file. Then the one cache file that belongs to the newly added file is verified & potentially removed, but not all the others.

I checked the code. There is a mechanism already that removes old cache files (as in, files created by an different version of the GUI than the one you’re currently running). This should remove old files once per version upgrade.