public function getCachePolicy()
    {
        if (!empty($this->response))
        {
            $policy = $this->response->getCachePolicy();
            if (!empty($policy))
                return $policy;
        }
        return $this->cache_policy;
    }