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");   

Not working in Safari browser. How to reload entire page if Safari browser back pressed?

Afsa
  • 2,025
  • 1
  • 16
  • 19
Rasheed Syed
  • 1
  • 1
  • 1

1 Answers1

0

This is actually not related to the HTTP caching protocols. Safari assumes a page that has already been loaded can simply be resumed. The only workaround I am aware of is to implement a JavaScript event listener that will reload page. Related question.

Community
  • 1
  • 1
BayssMekanique
  • 894
  • 1
  • 14
  • 27