In my application, all url's with a query param are not cached and are served directly from the server. (ignoreUrlParams property)
Now, I need to disable caching of only a folder in DAM and all its contents. (Say, /content/dam/abc/static/pdf). I am okay with some implementation where I'd have to specify each file's name in the dispatcher.
But a simpler solution with a folder's path will be better, if at all possible