             speakMenuItem.isHidden = true
         }
     }
+
+    func clearImageCache() {
+        KingfisherManager.shared.cache.clearCache {
+            log.debug("Disk cache for images has been cleared.")
+        }
+    }
 }
 
 // MARK: Multi-Window Management


import Foundation
import AppKit

private let mainWindowDefaultTopLeftPoint = NSPoint(x: 100, y: 100)


        initializeUserDefaults()
        addObserverForUserDefaults()
        configureMenuItems()
        clearImageCache()
        debugPrintToken()
        openNewWindow()
    }
