Jump to content

Wikipedia:Bypass your cache

Page semi-protected
From Wikipedia, the free encyclopedia
(Redirected from Wikipedia:CLEAR)

Bypass your cache — Simple instructions
In most Windows and Linux browsers:
  • Hold down Ctrl and press F5.

In Apple Safari:

  • Hold down ⇧ Shift and click the Reload toolbar button.

In Chrome and Firefox for Mac:

  • Hold down both ⌘ Cmd+⇧ Shift and press R.
See full instructions below

To speed things up and conserve communications bandwidth, browsers attempt to keep local copies of pages, images, and other content you've visited, so that it need not be downloaded again later. Occasionally this caching scheme goes awry (e.g. the browser insists on showing out-of-date content) making it necessary to bypass the cache, thus forcing your browser to re-download a web page's complete, up-to-date content. This is sometimes referred to as a "hard refresh", "cache refresh", or "uncached reload". The rest of your cache is not affected.

When you encounter strange behavior, first try bypassing your cache. In most cases you can use the simple instructions shown to the right, or see the complete browser-specific instructions below. If this is not enough, you can try performing a "purge" of Wikipedia's server cache (see instructions below). If problems persist, report them at Wikipedia:Village pump (technical).

If you are editing templates, you may need to wait a few minutes before bypassing your browser cache in order to see the change in a page with the transcluded template.

In unusual circumstances, it may be worth clearing the entire cache (of your local browser).

Bypassing cache

Mobile browsers

Android

  • (tbd)

iOS - All browsers

(e.g. Mobile Safari and Brave, Chrome, Firefox, Opera, et. al.)[1]

  • Click the Reload button on the navigation toolbar.
  • If that is insufficient, one can try to add the following to the end of the page’s url (either manually or by using a JavaScript-based bookmarklet).[2]
?nocache=1

Desktop browsers

Chromium-based browsers (Google Chrome, Microsoft Edge, Opera, etc.)

On Windows and Linux, use one of the following:

  • Hold the Ctrl key and press the F5 key.
  • Hold the ⇧ Shift key and press the F5 key.
  • Hold the Ctrl key and the ⇧ Shift key, then press the R key.
  • Hold the Ctrl key and click the Reload button on the navigation toolbar.
  • Hold the ⇧ Shift key and click the Reload button on the navigation toolbar.

On macOS:

  • Hold both the ⌘ Cmd and ⇧ Shift keys and press the R key.
  • Hold the ⇧ Shift key and click the Reload button on the navigation toolbar.
  • Hold the Ctrl key and click the Reload button on the navigation toolbar.

On ChromeOS:

  • Hold the ⇧ Shift key and click the Reload button on the navigation toolbar.

Use one of the following:

  • Hold the Ctrl key and press the F5 key.
  • Hold the Ctrl key and click the "Refresh" button on the toolbar.

These instructions work for Firefox, SeaMonkey, and other related browsers.

On Windows and Linux, use one of the following:

  • Hold both the Ctrl and ⇧ Shift keys and then press R.
  • Hold the ⇧ Shift key and click the Reload button on the navigation toolbar.
  • Hold the Ctrl key and press the F5 key.

On macOS, use one of the following:

  • Hold both the ⌘ Cmd and ⇧ Shift keys and then press R.
  • Hold the ⇧ Shift key and click the Reload button on the navigation toolbar.

For version 4 and newer:

  • Hold down the ⇧ Shift key and click the Reload toolbar button

or

  • Use keyboard shortcut ⌥ Opt+⌘ Cmd+R to clear cache.

For version 3 and older:

  • Hold down the ⌘ Cmd key and press R. This kind of "regular" reload will usually bypass the cache.

Cache clearing and disabling

Chromium-based browsers (Google Chrome, Microsoft Edge, Opera, etc.)

To clear the cache:

  1. Go to the "Tools" menu (the three horizontal ellipsis on the upper right of the browser) and click on "History" (Shortcut: Ctrl+H).
  2. Click on "Clear browsing data…" (Shortcut: Ctrl+⇧ Shift+Del).
  3. Select the types of data you want to clear, and include "Cached images and files" option.

If you would like to keep the data in your cache but test Wikipedia without using it, you can use the private browsing option.

To disable the cache:

  1. Open Developer Tools (F12, Ctrl+⇧ Shift+I or Tools ▸ Developer Tools).
  2. Click on the horizontal ellipsis on the upper right corner of the Dev Tools interface and select "Settings" (Shortcut: F1).
  3. Check the "Disable Cache" check-box.

information Note: This method only works if the developer console remains open. Browser extensions are available for download that force the cache to be disabled at all times.

To completely clear the cache in Internet Explorer 9 and later versions:

  1. Click "Tools" (the Gear-shaped button on the top-right section of the browser), point to "Safety" and click "Delete Browsing History…" (keyboard shortcut: Ctrl+⇧ Shift+Del).
  2. Select "Temporary Internet Files" at the top, and click "Delete". (If Wikipedia is in your list of favorites, you may need to turn off the "Preserve Favorites website data" at the top of the dialog box.)
  3. Internet Explorer will now silently delete the items you have chosen. Once finished, the notification bar appears at the bottom of the screen, stating that the selected browsing history has been deleted.

To completely clear the cache in Internet Explorer 8:

  • Click the "Tools" menu then select "Delete Browsing History".

To completely clear the cache in Internet Explorer 7:

  • Click "Tools" and select "Internet Options", choose the "General" tab and click "Delete Files" under the Temporary Internet Files section. If you want, you can also opt to delete cookies and browsing history.

To completely clear the cache in older versions of Internet Explorer:

  • Click on "Tools" and then "Internet Options", and choose the "General" tab. Then click on "Delete…" under "Browsing history". In the "Temporary Internet files" section, click "Delete Files…". You will then get a dialogue box asking if you want to delete just the temporary files, or all off-line content. Choose the latter and click "OK".

To change cache settings (not recommended for most users):

  • Select Tools ▸ Internet Options ▸ Temporary Internet files ▸ Settings… to make advanced configuration changes to the cache.

To completely clear the cache:

  • Click the "Open menu" button (three stacked, horizontal bars in the upper right corner). Select "Options", then the "Privacy & Security" section. Go to the "Cookies and Site Data" subsection and click the "Clear Data..." button. Make sure the box for "Cached Web Content" is checked and click "Clear", (be sure the "Cookies and Site Data" box is unchecked if you do not want to clear this data as well).
  • In versions of Firefox that display a single, orange "Firefox" button: click the "Firefox" button and click "Options". Select the "Advanced" section, and go to the "Network" tab, and click the "Clear Now" button. Then click "OK".
  • When Firefox displays a menu bar, from the "Edit" or "Tools" menu, choose "Preferences" or "Options". Select the "Advanced" section, and go to the "Network" tab. Click the button called "Clear Now". Then click "OK".
  • In SeaMonkey and later versions of Netscape, choose Edit ▸ Preferences…, expand the "Advanced" section and choose "Cache". Click on the "Clear Cache" button.

If you would like to keep your data in your cache and test Wikipedia with an empty cache, you can use Private Browsing mode.

To disable caching in Firefox (not recommended for most users):

  1. Choose Tools ▸ Options… (or Edit ▸ Preferences in the Linux version).
  2. Choose "Advanced" at the top.
  3. Choose the "Network" tab.
  4. Change the cache size to 0 (zero).

To disable caching in SeaMonkey (not recommended for most users):

  1. Choose Edit ▸ Preferences…
  2. Expand the "Advanced" item near the left bottom.
  3. Choose "Cache" item.
  4. Change the "Size" value to 0 (zero).

To completely clear the cache:

  • Use keyboard shortcut ⌥ Opt+⌘ Cmd+E to instantly clear all caches

Alternatively:

  1. From the "Safari" menu, choose "Preferences..." (Shortcut: ⌘ Cmd+,)
  2. Click on the "Advanced" tab
  3. Check the box at the bottom next to "Show Develop menu in menu bar"
  4. Close preferences and click Develop ‣ Empty Caches

Purging Wikipedia's server cache

The Wikimedia servers cache a version of articles. When improperly displayed content is contained in a template or other transcluded page, bypassing your own cache might not be enough. You may need to purge the server cache of old page versions.

The server can be instructed to refresh its cache of a page's contents with the action=purge web address parameter. Add this to the end of the address. For example, to purge this page, visit one of the following:

For pages you think may need to be purged on a regular basis, include {{purge}}, which provides readers with an easily-accessible purge link. Don't put this on article space pages.

See also

References

  1. ^ (* As of at least mid-2022, all iOS web browsers have always been required to use the same system-provided WebKit browser engine)
  2. ^ "ios - How to clear browser cache for just one specific site in Mobile Safari?". Ask Different. Retrieved 2022-07-19.
    "Can I force a cache refresh in Safari running on iOS?". Ask Different. Retrieved 2022-07-19.