Exemplo n.º 1
0
 public function render()
 {
     if (Piwik_Url::getCurrentScheme() == 'https' || Zend_Registry::get('config')->General->reverse_proxy) {
         @header("Pragma: ");
         @header("Cache-Control: must-revalidate");
     }
     return $this->chart->toPrettyString();
 }
Exemplo n.º 2
0
 public function render()
 {
     @header("Pragma: ");
     @header("Cache-Control: no-store, must-revalidate");
     return $this->chart->toPrettyString();
 }
Exemplo n.º 3
0
 public function render()
 {
     return $this->chart->toPrettyString();
 }
Exemplo n.º 4
0
 public function render()
 {
     Piwik::overrideCacheControlHeaders();
     return $this->chart->toPrettyString();
 }