When changes are made in your website but they are not appearing when you load the page, clearing your DNS and web browser cache may help fix the problem by forcing the page to reload from the server.
Perform the following steps depending on your operating system and web browser:
STEP 1: CLEAR DNS CACHE
- Click the 'Start' button or by pressing the Window key on your keyboard.
- Enter 'cmd' in the search bar and select the 'Command Prompt' application or 'cmd.exe' (depending on the operating system version)
- In the command prompt window that appears, type in this command: ipconfig /flushdns
- Press 'Enter' on your keyboard.
- You should see a confirmation message saying it has successfully flushed the DNS Resolver Cache.
- Exit Command Prompt.
- In the top menu bar, navigate to 'Go' then 'Utilities' or simply press 'Shift-Command-U' on your keyboard.
- Click 'Terminal'.
- Run the following command based on the operating system version:
NOTE: To run the command, you must know the computer's administrator account password.
- MacOS 10.10.4 and above - sudo killall -HUP mDNSResponder
- MacOS 10.10.1, 10.10.2, and 10.10.3 - sudo discoveryutil mdnsflushcache
- MacOS 10.7, 10.8, and 10.9 - sudo killall -HUP mDNSResponder
- MacOS 10.5 and 10.6 - sudo dscacheutil -flushcache
- Press 'Return', enter your password, and press 'Return' again.
- If the command succeeds, the system does not display any success message.
- Exit the Terminal.
STEP 2: CLEAR WEB BROWSER CACHE
- In the browser address bar, enter this address: chrome://settings/clearBrowserData
- Under 'Basic' section of the 'Clear browsing data' window, check the box 'Cached images and files'. Make sure that only this box is checked. If not, you might lose your browsing history, saved passwords, cookies, etc.
- Click 'Clear Data' button.
- Close the Settings page. Any changes you've made will be automatically saved.
- In the browser address bar, enter this address: about:preferences#privacy
- In the Browser Privacy page, scroll down to 'Cookies and Site Data' section.
- Click 'Clear Data' button.
- Check the box 'Cached Web Content'. Make sure that only this box is checked as you might lose saved passwords and cookies.
- Click 'Clear' button.
- Close the Options page. Any changes you've made will be automatically saved.
- In the Safari top menu bar, navigate to Safari > Preferences
- Click 'Advanced'.
- At the very bottom of the page, check the box 'Show Develop menu in menu bar'.
- Go to 'Develop' from the menu and then select 'Empty Caches' to clear Safari’s browser cache.
- Click the Gear icon on the top right side of the browser.
- Select 'Safety' then 'Delete Browsing History…'
- In this window, uncheck all boxes except for 'Preserve Favorites website data' and 'Temporary Internet files and website files'. Those two items must have their boxes checked.
- Click 'Delete' button to clear Internet Explorer browser cache.
- Click the three dots button located on the top right side of the browser.
- Select 'Settings'.
- In the left side of the panel that appears, click 'Privacy & security'.
- Under 'Clear browsing data' section, click 'Choose what to clear' button.
- Uncheck all items except for 'Cached data and files'.
- Click 'Clear' button to clear Microsoft Edge browser cache.
STEP 3: RELOAD THE PAGE / WEBSITE
Once the DNS and web browser cache are cleared, reload and visit the page or website. You should now be able to see the latest version of your site.
Congratulations! You have successfully cleared your DNS and web browser cache.
Posting has been disabled.