CodeIgniter Forums
How to stop browser caching. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: How to stop browser caching. (/showthread.php?tid=59207)



How to stop browser caching. - El Forum - 09-05-2013

[eluser]Musaddiq Khan[/eluser]
Assalam-o-Alaikum,
I m having problem in showing items in cart.
When I update the quantity of items in cart, it get updated on all other pages except the <b>home page</b>. i.e when i click on the link of home page link then nothing updated it fetches the old values and I've checked it in databse it's updted there. But when I press <b>ctrl+F5</b> it fetches the updated values. Sad
Is there any caching concept in codeigniter that prevent the front page to fetch from the database on front page.
Any help will be appriciated.


How to stop browser caching. - El Forum - 09-05-2013

[eluser]noideawhattotypehere[/eluser]
http://www.robertmullaney.com/2011/08/13/disable-browser-cache-easily-with-codeigniter/
First position in google, learn to use it.