I am wondering, is there any reason I need to use the control panel to delete the cache or can I just delete the file like I would any other way e.g. Finder or rm command?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 05, 2012 6:03pm
Subscribe [2]#1 / Feb 05, 2012 6:03pm
I am wondering, is there any reason I need to use the control panel to delete the cache or can I just delete the file like I would any other way e.g. Finder or rm command?
#2 / Feb 05, 2012 11:31pm
You can always go directly to the DB as that is something you are obviously comfortable with. Automating cache in EE and expanding basic core ee cache is the real advantage - addons for cron automation, template morsels [a brilliant option for moving beyond the performance hit of embed templates] etc. Good luck!
#3 / Feb 05, 2012 11:39pm
I think maybe you mis-understood slightly. Say I am backing up the site. I obviously want to delete the cache before i do so. Can’t I just delete the files with out having to go to the control panel?
#4 / Feb 05, 2012 11:47pm
You can always go directly to the DB as that is something you are obviously comfortable with
#5 / Feb 06, 2012 12:03am
I am not really.
#6 / Feb 06, 2012 12:49am
Just make lots of db backups so you can restore easily, if you want to improve your db proficiency. Just remember EE support is only for the program not the db. Good luck!
#7 / Feb 06, 2012 2:47pm
I will have to look into it. I would still like a definitive answer about deleting files from the cache. I think it works, but I am not 0.
#8 / Feb 06, 2012 5:00pm
Yes, the cache writes to the filesystem so you can remove it directly in the filesystem.
The only exception is the Relationships cache. That one has to be cleared in the DB, and the safest way to do that is via the CP Utilities.
#9 / Feb 06, 2012 5:12pm
Thank you for the clarification.