public function get_cached_model($path, array $data, mvc\controller $ctrl, $ttl = 10){
    if ( \is_null($data) ){
      $data = $this->data;
    }
    if ( $route = $this->router->route($path, 'model') ){
      $model = new mvc\model($this->db, $route, $ctrl, $this);
      return $model->get_from_cache($data, '', $ttl);
    }
    return [];
  }