CodeIgniter Forums
Can I just download the changed part of the whole page? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Can I just download the changed part of the whole page? (/thread-53812.html)



Can I just download the changed part of the whole page? - El Forum - 08-09-2012

[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!


Can I just download the changed part of the whole page? - El Forum - 08-10-2012

[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.