If no options are specified with the clear cache api then all caches should be cleared.
Closes #2886