CodeIgniter Forums
Can't use a cache? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Can't use a cache? (/showthread.php?tid=73219)



Can't use a cache? - john.e.rand_gmail.com - 04-01-2019

Hi Guys,

Just checking:  since my websites have information like user names and amount ordered in headers, and are full of ajax calls and modal windows about the customer's order,  I'm thinking that I can't use caching.

Is that right?  Or am I missing something.

Thanks!

John


RE: Can't use a cache? - adamoli - 04-03-2019

The most common use of caching is for static content, but you can still cache dynamic content if you can manage to delete/update the cache whenever the data changes.

I would suggest memcached or redis for this kind of approach, as file caching is not very efficient for this type of scenario.