Implementing hook_flush_caches() for invalidate the boxes cache with the other caches.

#6228