When you have set Autoptimize to extract inline js and css from HTML, then the cache size grows out of control rapidly before you can notice. And it can become a huge problem if your WordPress site has lots of pages and there is small pieces of js and css snippets usually from plugins.

This can save your day.

https://gist.github.com/ssovit/a698daa15e37af740f9d87e16c1d4316

Include it somewhere in your theme’s function.php file.