ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Delete Cache With file system or command line

February 05, 2012 6:03pm

Subscribe [2]
  • #1 / Feb 05, 2012 6:03pm

    Charming Nerd

    196 posts

    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

    Enviromed

    375 posts

    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

    Charming Nerd

    196 posts

    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

    Enviromed

    375 posts

    You can always go directly to the DB as that is something you are obviously comfortable with

  • #5 / Feb 06, 2012 12:03am

    Charming Nerd

    196 posts

    I am not really.

  • #6 / Feb 06, 2012 12:49am

    Enviromed

    375 posts

    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

    Charming Nerd

    196 posts

    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

    Lisa Wess

    20502 posts

    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

    Charming Nerd

    196 posts

    Thank you for the clarification.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases