Whitespace cleanup
Do not spam logs if cache is not turned on