reload and clear cache chrome code example

Example 1: chrome clear cache for one site

chrome://settings/siteData

Example 2: chrome refresh cache

CTRL+F5 : to refresh the page by clearing GG chrome cache.

Example 3: what is a cache-less reload

"Cache-less refresh" / "Hard Refresh" / "Unched Reload"
Mac: Cmd+Shift+R 
Windows: Ctrl+Shift+R

Example 4: how to clear cache chrome

ChromeDriver chromeDriver = new ChromeDriver();

    chromeDriver.manage().deleteAllCookies();
    chromeDriver.get("chrome://settings/clearBrowserData");
    chromeDriver.findElementByXPath("//settings-ui").sendKeys(Keys.ENTER);

    return chromeDriver;