Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By msathesh on
I have a hosting account and the disk space has been exceeded. Can I delete all the files under sites/default/files except the imagecache folder? Do I need the raw files once it has been converted with Imagecache? What happens when I clear all the cache? Does it delete the imagecache directory? Please advice drupalers..
Comments
^
Don't do that.
All files you upload goes to these folders. Keep original files.
You can delete all imagecache folders amd let the site regenerate them as it want. Also if you need to save some space, go to sites/all/libraries anfld hunt tests/demo/sample folders.
What's new and changing in PHP 8
@Ayesh.. Thanks for your
@Ayesh.. Thanks for your comments. What about the database tables?? Can I delete the accesslog, watchdog & cache* tables? Would there be any effect within Drupal if I empty these tables? Thanks Ayesh.
^
You can set watchdog to keep less amount off errors of completely disable that.
You can clear the cache to empty the database for a small time but eventually it will grow up again.
Do not delete any table. Just truncate if you feel it's good for you.
Revision Deletion is a good module if your site has unwanted revisions to delete.
What's new and changing in PHP 8