I just created a site using codeigniter and mysql. It works fine, but I want to enable database caching. I decided that I would just do it globally and not cache every select statement manually. in my database configuration file I set 'cache_on' = TRUE and then for'cachedir' = "http://www.mydomain.com/application/cache/dbcache"
I set the entire cache directory as writable, so I think everything is configured correctly. After loading several pages, I looked again at the cache directory and it is still empty. I guess this means that nothing is cached. Am I missing something? I get no errors and all my select statements show results. What am I doing wrong / and how can I find out if caching works?
Thank!
source
share