php - CodeIgniter caching -
im developing page in codeigniter, suddently having problem caching.
when change, there goes 10 minutes before change takes action - properbly because of caching. have added tried add controller constructor out effect:
$this->output->set_header("http/1.0 200 ok"); $this->output->set_header("http/1.1 200 ok"); $this->output->set_header("cache-control: no-store, no-cache, must-revalidate"); $this->output->set_header("expires: ". gmdate('d, d m y h:i:s')."gmt"); $this->output->set_header("cache-control: post-check=0, pre-check=0"); $this->output->set_header("pragma: no-cache"); $this->output->cache(0);
any know wrong? or have tip? horrible develope this...
Comments
Post a Comment