• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I just download the changed part of the whole page?

#1
[eluser]Unknown[/eluser]
page一:
$this->load->view('header');
$this->load->view('test1', $data);
$this->load->view('footer');
page二:
$this->load->view('header');
$this->load->view('test2', $data);
$this->load->view('footer');
can i just redownload test2,not all the other parts? Thank you!

#2
[eluser]TWP Marketing[/eluser]
[quote author="rock" date="1344581568"]page一:
$this->load->view('header');
$this->load->view('test1', $data);
$this->load->view('footer');
page二:
$this->load->view('header');
$this->load->view('test2', $data);
$this->load->view('footer');
can i just redownload test2,not all the other parts? Thank you![/quote]

Your question suggests you don't know what the header and footer views contain.
If they have the html head tag data, they are necessary for a browser to render the page correctly.

If they are just content inside the body tag, they are not "necessary", assuming you are willing to have a blank space or missing page information.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.