public function setCacheHeaders($expires)
{
$hdrs = array('Pragma' => 'cache', 'Expires' => gmdate('D, d M Y H:i:s', strtotime('+' . $expires)) . ' GMT', 'Cache-Control' => 'public, max-age=' . (strtotime('+' . $expires) - time()), 'Last-Modified' => gmdate('D, d M Y H:i:s') . ' GMT');
$this->headers = array_merge($this->headers, $hdrs);
}