Client-side disabling of the cache

Contribution to #1744