Full database after hacking attempt


My website was down because of the cache_page tab in the database which was full after an hacking attempt (thousand of connexions at the same time : robot !)

I have a cron job on my website which flushs the cache every day but apparently it was not enough. Indeed, the tab was full in just few minutes. I can change the value of the cron execution to 1 hours but I’m not sure that really fix the issue if an other hacking attempt will happening again.

Do you have some ideas to resolving my issues ? Maybe how to flush to cache_page after a size limit ? Or how do not fill the cache_page so quickly ?

Thanks for your help

Drupal version: 

Source: https://www.drupal.org/taxonomy/term/22/feed