CodeIgniter Forums
DB cashing bug - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: DB cashing bug (/showthread.php?tid=2603)



DB cashing bug - El Forum - 08-14-2007

[eluser]EugeneS[/eluser]
it seems to me like a bug.

query cash files are created.

but when i change data in database and refresh the page this page shows me updated data instead of cashed results from the cash files.

so it seems to me even when cashing enabled and cash files were created CI any way ask database for data instead of cash files :\


DB cashing bug - El Forum - 09-06-2007

[eluser]Code Arachn!d[/eluser]
It sounds like a config issue - you don't have caching turned on within the database config file do you?


DB cashing bug - El Forum - 09-06-2007

[eluser]beatryder[/eluser]
[quote author="EugeneS" date="1187120791"]it seems to me like a bug.

query cash files are created.

but when i change data in database and refresh the page this page shows me updated data instead of cashed results from the cash files.

so it seems to me even when cashing enabled and cash files were created CI any way ask database for data instead of cash files :\[/quote]

The cache is only used when the data has not changed!