The caching mechanism, utilizing cache.add() and cache.addAll(), does not currently enforce a size limitation on files being added.
Historically, this posed no major issue as typical use cases did not involve extremely large files.
Recently, however, the use of caching for Large Language Models (LLMs) has led to attempts to cache files larger than 2 GB.
For example, Chrome has a bug on opening 2 GB+ file in CacheStorage: https://crbug.com/391398191
It's not realistic to support infinite size, so it would be beneficial to specify a size limitation.
My proposal would be around 100 - 200 GB.