 
         if note.object as? URL == webView.url {
             self.updateTitleBar(didChange: false)
+            cacheSettings()
         }
     }
     

        {
            docIconButton?.isHidden = true
        }
    }
    
    @objc func updateTitleBar(didChange: Bool) {

        
        wpc.setupTrackingAreas(true)
        wpc.updateTranslucency()
        cacheSettings()
    }
    
    func windowShouldClose(_ sender: Any) -> Bool {
