CodeIgniter Forums
Delete only special db 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: Delete only special db cache (/showthread.php?tid=70636)

Pages: 1 2


RE: Delete only special db cache - omid_student - 05-19-2018

(05-08-2018, 04:35 AM)InsiteFX Wrote: If it works for you leave it alone.

But it is not standard way for delete special file
Do you can help me about it?


RE: Delete only special db cache - InsiteFX - 05-19-2018

If your creating special files then I would create my own method for deleting them.

Maybe store the filenames into an array so you could index it and delete them.


RE: Delete only special db cache - omid_student - 05-19-2018

(05-19-2018, 09:04 AM)InsiteFX Wrote: If your creating special files then I would create my own method for deleting them.

Maybe store the filenames into an array so you could index it and delete them.

How do i store filenames?
In file or database?
Cache or manual file/database?

Because my users are more than 1 million so it is very important how do i save it or use cache
Thanks


RE: Delete only special db cache - omid_student - 06-02-2018

(05-08-2018, 04:35 AM)InsiteFX Wrote: If it works for you leave it alone.

Do you have better solution?


RE: Delete only special db cache - InsiteFX - 06-02-2018

No I do not have a better way, but I believe that if it works leave it alone.
You can play around with it and try to tweak it out etc;


RE: Delete only special db cache - omid_student - 06-02-2018

(06-02-2018, 03:52 AM)InsiteFX Wrote: No I do not have a better way, but I believe that if it works leave it alone.
You can play around with it and try to tweak it out etc;

I finally use apc cache manually for save query resource