Author Topic: Delete cache from database  (Read 10619 times)

Offline torob

  • Newbie
  • *
  • Posts: 3
Delete cache from database
« on: May 03, 2012, 07:43:28 AM »
Hi.

I'm using Roundcube 0.7.2 and I enabled message cache and IMAP index cache to see if it could speed up messages loading. But it seems like my ISP's database server is slower than the IMAP server since it didn't improve the speed.

Anyway, I disabled the database cache again after some testing. But the information seems to still be in the MySQL database. The table cache_index and cache_messages still contains information.

Is this the tables used for the cache? And is it safe to delete these two tables? If yes, could I delete them totally or just empty them? (Will they be recreated if I enable database cache later?)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: Delete cache from database
« Reply #1 on: May 03, 2012, 08:02:49 AM »
Yes those are the tables used for the message cache so you can empty them. I'd recommend not deleting the tables because it may cause problems when upgrading RoundCube.