I can have a look at this, but please keep also in mind that through accepting the other pull request, you broke existing code.

@g4bo, you are welcome to introduce a new format for this. I think I might get around each syntax you propose. But please propose a deterministic syntax. Currently, I can only assume that all hexadecimal characters are allowed? Shouldn't we enhance cacheFilename() to do a simple check for this?