Improve trims.
https://github.com/WebSharks/Quick-Cache/issues/147