Add local cache expiry documentation and fix misleading error message when specifying a percentage cache quota Closes #700 See merge request !939