The browser (or better: should be) smart enough to completely clear a closed website. This includes interrupting the execution of running connections and shutting down scripts. The data that remains on your PC after closing the tab usually includes only items such as browser history entries, cookies, local storage and cached data (for example, scripts, style sheets, images).
Felk source share