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

+- CodeIgniter Forums (
+-- Forum: Using CodeIgniter (
+--- Forum: General Help (
+--- Thread: Can't use a cache? (/showthread.php?tid=73219)

Can't use a cache? - - 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.



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.