CodeIgniter Forums
CodeIgniter cache preventing AJAX calls - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: CodeIgniter cache preventing AJAX calls (/showthread.php?tid=72080)



CodeIgniter cache preventing AJAX calls - saleempbt5 - 11-02-2018

Hi,
When i have enabled default web cache in codeigniter, none of the ajax calls seems to be working.
is there any solution to incorporate both ?


RE: CodeIgniter cache preventing AJAX calls - InsiteFX - 11-02-2018

Only cache the pages that do not use Ajax.

Also you can read this:

Tip: Solving the browser caching problem of AJAX applications