Welcome Guest, Not a member yet? Register   Sign In
cache only several page on the view
#1

[eluser]SaSa[/eluser]
Hello,
I want cache only several page on the view.
Code:
$this->load->view('template/head',$text); // THIS I DON'T WANT TO CACHE //
$this->load->view('template/menu');       // THIS I WANT TO CACHE FOR ALWAYS //
$this->load->view('template/baner');      // THIS I WANT TO CACHE FOR 5 minute  //
$this->load->view('template/main');       // THIS I DON'T WANT TO CACHE //
$this->load->view('template/footer');     // THIS I WANT TO CACHE FOR ALWAYS //
How is it?
#2

[eluser]InsiteFX[/eluser]
The Web Browser is going to cache the whole page unless you tell it not to!

So either you are going to cache the whole page or not!

You maybe able to use a caching library.

InsiteFX
#3

[eluser]SaSa[/eluser]
what is InsiteFX?
yes, i want to use caching library The shape :
Code:
$this->load->view('template/head',$text); // THIS I DON'T WANT TO CACHE //
$this->load->view('template/menu');       // THIS I WANT TO CACHE FOR ALWAYS //
$this->load->view('template/baner');      // THIS I WANT TO CACHE FOR 5 minute  //
$this->load->view('template/main');       // THIS I DON'T WANT TO CACHE //
$this->load->view('template/footer');     // THIS I WANT TO CACHE FOR ALWAYS //
#4

[eluser]SaSa[/eluser]
please help me
#5

[eluser]InsiteFX[/eluser]
You should be able to find what you need here.

Phil's Libraries

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB