If you've recently made changes to your landing pages, but still see the previous version, your browser may be caching your landing page.
This article will explain caching, how caching plays a role in viewing the updated version of your landing pages or website, and steps to clearing a browser, page-level, or network cache.
What is Caching?
Browser caching is a process in which the browser stores resources or elements from your landing page or website; the cache stores these resources. Caching can be the reason why you may see the previous version of your landing page, before your most recent republish or changes.
Caching can happen depending on whether the user is a first-time visitor or has visited your site before:
- For first-time visitors, your web browser will begin the process of collecting data from the webserver. The web browser will then store the web resources in a cache.
Caching & Your Unbounce Landing page
So you've just published your landing page and navigated the URL in your browser - everything looks great!
The next day, you decide to change your background image, for example. You swap out the old background image for the new one and load the live version of your landing page again to see how it looks - you notice the old background image is still there.
Your machine cached the previous background image, and has not requested the new image. Therefore, your browser will not obtain the updated background image until you clear the cache.
If you're curious to see the most up-to-date version of your landing page as soon as possible, do test your landing page in an Incognito window, as incognito mode does not store a browser cache, history, temporary files, or cookies.
Clearing Your Page-Level Cache
Most browsers for Mac & Windows devices allow you to clear your cache by performing a hard refresh.
Clearing a page-level cache only clears the cache of that specific webpage exclusively.
Hold down the Shift key on your keyboard and click on the reload icon on your browser’s toolbar.
Here are some hard-refresh keyboard shortcuts depending on your device:
|Mac||Chrome or Firefox||Shift+Command+R.|
Command+Option+E to empty the cache.
Then hold down Shift and click Reload in the toolbar.
|Windows||Chrome, Firefox, or Edge||Ctrl+F5 (Also try Shift+F5 or Ctrl+Shift+R).|
|iPhone, iPad, or another mobile device||N/a||No shortcuts. Navigate to the Settings in your Apple device to erase your browser’s cache.|
Clearing Your Browser Cache
Clearing your browser cache will completely refresh the cache of all web pages you've visited previously. The steps to clearing a browse cache vary depending on your browser (Google Chrome, Safari, or Mozilla Firefox):
- Launch Google Chrome.
- At the top right, click the Morebutton.
- Click More Tools, then Clear Browsing Data...
- Or, paste the chrome://settings/clearBrowserData URL in Chrome's address bar and click enter.
- At the top, choose a time range. To delete everything, select All time from the drop-down menu.
- Check all the boxes next to Cookies and other site data and Cached images and files.
- Click Clear data to clear the cache.
For more up-to-date steps, see Chrome's documentation on clearing cache & cookies.
This forum explains how to delete your cache from Safari with the latest upgrade to Mac:
- In the Menu bar at the top of the Safari toolbar, click Safari and select Preferences from the drop-down menu.
- Click the Advanced tab. Select the Show Develop menu in the menu bar checkbox and close the Preferences window.
- Select the Develop drop-down menu from the Safari toolbar.
- Click Empty Cache from the list.
As an added precaution, clear your browser history in Safari as well.
- In the Menu bar at the top of the Firefox toolbar, click Firefox and select Preferences.
- Select the Privacy & Security panel.
- In the Cookies and Site Data section, click Clear Data…
- Remove the checkmark in front of Cookies and Site Data.
- For more information about managing site data, see Manage local site storage settings.
- With Cached Web Content check marked, click the Clear button.
- Close the about:preferences page. Any changes you've made will automatically save.
See Firefox's documentation on clearing cookies and site data for more detailed steps.
Launch Microsoft Edge, select the Menu button.
From the Menu, navigate to Settings > Privacy & services.
Under Clear browsing data, choose what you'd like to clear.
Select Cached images and files and Cookies and other site data checkboxes; then select Clear.
See Microsoft's documentation on deleting cookies (and clearing browser cache).
Clearing a Network Cache
Sometimes you might find that visitors on your WiFi network see an older version of your page. In contrast, visitors on other networks (LTE, 3G, or different WiFi networks) see the updated version. Or, you may test your page in an Incognito window, and still see an out-of-date version.
This may be due to your network cache.
DNS caching is the process of saving recently-visited IP addresses to a database; this allows your browser to reload sites that you have visited much faster than if it had to reference the DNS again each time.
If your DNS cache becomes corrupted, outdated, or causes connectivity issues, clearing your DNS cache can often help resolve the issue.
Often, the DNS cache will refresh itself periodically if your DNS records have a Time to Live value (TTL).