2014-09-20 123 views
0
$this->output->set_header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");  
$this->output->set_header("Cache-Control: post-check=0, pre-check=0", false); 
$this->output->set_header("Pragma: no-cache"); 

不适用于Safari浏览器。如果Safari浏览器重新按下,如何重新加载整个页面?Codeigniter头不能在Safari浏览器中工作

+0

你必须说明你的意思是“不工作”。 – Afsa 2014-09-20 08:49:24

回答

0

这实际上与HTTP缓存协议无关。 Safari假定已经加载的页面可以简单地恢复。我知道的唯一解决方法是实现将重新加载页面的JavaScript事件侦听器。 Related question

相关问题