MediaWiki:Clearyourcache: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(implementing now that 'collapsible' is up to date)
(Created page with "<div id=tech>'''Note:''' After saving, you have to bypass your browser's cache to see the changes. *'''Internet Explorer:''' hold down the ''Ctrl'' key and click the ''Refresh...")
Line 1: Line 1:
<div style="font-size:85%">
<div id=tech>'''Note:''' After saving, you have to bypass your browser's cache to see the changes.
{| class="collapsible collapsed" style="margin:3px auto; width:100%; background:transparent; border:1px solid #444; padding:3px;"
*'''Internet Explorer:''' hold down the ''Ctrl'' key and click the ''Refresh'' or ''Reload'' button, or press ''Ctrl+F5''.
! style="text-align:left;" |'''Note:''' After saving, you have to bypass your browser's cache to see the changes. For more information, click [show] to the right.
*'''Firefox:''' hold down the ''Shift'' key while clicking Reload; alternatively press ''Ctrl+F5'' or ''Ctrl-Shift-R''.
|-
*'''Opera''' users have to clear their caches through ''Tools→Preferences''
|
*'''Konqueror''' and '''Safari''' users can just click the ''Reload'' button.
{| class="collapsible collapsed" style="margin:3px auto; width:100%; background:transparent; border:1px solid #444; padding:3px;"
*'''Chrome''': press Ctrl+F5 or Shift+F5
! style="text-align:left;" |[[wikipedia:Internet Explorer|Internet Explorer]]
</div>
|-
|
* '''To reload a page and bypass the cache''':
** ''either:'' Hold the ''Ctrl'' key, and press ''F5''.
** ''or:'' Hold the ''Ctrl'' key, and click the ''Refresh'' button on the Start bar.
* '''To completely clear the cache''' (see note above):
**[[wikipedia:Internet Explorer 8|Internet Explorer 8]]
***Click “Safety” and select "Delete Browsing History", make sure "Temporary Internet Files" and "History" is checked, then click "Delete". If you want, you can also opt to delete cookies.
**[[wikipedia:Internet Explorer 7|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.
**Older versions
*** 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 offline content. Choose the latter and click 'OK'.
* '''To change cache settings''' (only do this if you are reasonably confident about what you are doing):
** Selecting 'Tools' → 'Internet Options' → 'Temporary Internet files' → 'Settings...' allows you to make advanced configuration changes to the cache.
*** There is an option labeled ''"Check for a new version of stored pages:"'' This does ''not'' bypass the cache, it merely determines how often the browser asks if there is a newer version available.
|}
 
{| class="collapsible collapsed" style="margin:3px auto; width:100%; background:transparent; border:1px solid #444; padding:3px;"
! style="text-align:left;" |[[wikipedia:Mozilla Firefox|Firefox]]
|-
|
* '''To reload a page and bypass the cache''':
** ''either:'' Hold down both the ''Ctrl'' and ''Shift'' keys and then press ''R''. (Alternatively, hold down the ''Ctrl'' key and then press ''F5''.) On a Mac, use the ''Command'' key instead of ''Ctrl''.
** ''or:'' Hold down the ''Shift'' key and click the ''Reload'' button on the navigation toolbar.
* '''To completely clear the cache''' (see note above):
** From the 'Edit' or 'Tools' menu, choose 'Preferences' or 'Options'. Expand the 'Advanced' options and choose 'Cache' or 'Privacy'. Click the button called 'Clear Cache'.
** In newer versions of [[wikipedia:Mozilla Firefox|Mozilla Firefox]], you can easily clear the cache, history and cookies: Hold down the ''Ctrl'' and ''Shift'' keys, and press ''Delete''  (or ''Del''), then choose what you want to remove. Or from the 'Tools' menu, select 'Clear Recent History'. For a more complete purge, see [http://support.mozilla.com/en-US/kb/How+to+clear+the+cache?bl=n&s=cache&as=q this link].
** For older versions of [[wikipedia:Mozilla Firefox|Mozilla Firefox]], go to 'Tools' → 'Options' and click on 'Privacy' (picture of a key) in the sidebar of the window that pops up. Click the 'Clear' button that is next to the word 'Cache'.
* '''To disable caching''' (only do this if you are reasonably confident about what you are doing):
** For Firefox
*** Choose ''Tools'' | ''Options...'' (or ''Edit'' | ''Preferences'' in the Linux version)
*** Choose ''Advanced'' at the top
*** Choose the ''Network'' tab
*** Change the cache size to 0 (zero).
** For SeaMonkey
*** Choose ''Edit'' | ''Preferences...''
*** Expand the ''Advanced'' item near the left bottom
*** Choose ''Cache'' item
*** Change the ''Size'' value to 0 (zero).
 
Firefox has memory caching, which might also need to be considered when troubleshooting cache-related issues.
 
* In the address bar, enter 'about:config'
* Filter the configurations options by entering 'cache' in the filter at the top
* Change browser.cache.memory.enable to FALSE
|}
 
{| class="collapsible collapsed" style="margin:3px auto; width:100%; background:transparent; border:1px solid #444; padding:3px;"
! style="text-align:left;" |[[wikipedia:Safari (web browser)|Safari]]
|-
|
* '''To reload a page and bypass the cache''':
** '''for version 4 and newer''':
** '' Hold down the ''Shift'' key and click the ''Reload'' toolbar button.
** '''for version 3 and older''':
** Hold down the ''Command'' key, and press ''R''. This kind of "regular" reload will usually bypass the cache.
** Note that Apple ([http://docs.info.apple.com/article.html?artnum=306244]) claims that clicking the ''Reload'' toolbar button has the same effect as Command-R, but this is not true; frequently the button will not bypass the cache. In fact, numerous Web developers have reported erratic behavior in general  in bypassing the cache in Safari, in some cases having to resort to both clearing the cache (see below) and then quitting and relaunching the application.
* '''To completely clear the cache''' (see note above):
** From the 'Safari' menu, choose 'Empty Cache...' or hold down the ''Option'' and ''Command'' keys and press ''E''.
* '''To disable the cache permanently''' (this method only works on old versions of Safari 2 on OS X 10.4 and previous versions, and is not recommended as it may potentially (although rarely) cause system instability):
** Quit Safari by choosing 'Quit' from the 'Safari' menu, or by holding down the ''Command'' key and pressing ''Q''.
** Open a ''Terminal'' window by double-clicking 'Terminal' within the 'Utilities' folder, which is within the 'Applications' folder.
** Type the following commands, which are case-sensitive, each followed by the ''Enter'' key:
*** '''rm -rf ~/Library/Caches/Safari'''
*** '''touch ~/Library/Caches/Safari'''
** Quit Terminal by choosing 'Quit' from the 'Terminal' menu, or by holding down the ''Command'' key and pressing ''Q''.
** Relaunch Safari.
* '''To disable the cache for the session''' (Requires developer menu to be enabled. Go to Preferences, pick the Advanced Tab, then click "Show Develop menu in menu bar"):
** Click Develop, then click Disable Caches
|}
 
{| class="collapsible collapsed" style="margin:3px auto; width:100%; background:transparent; border:1px solid #444; padding:3px;"
! style="text-align:left;" |[[wikipedia:Google Chrome|Google Chrome]]
|-
|
* '''Reloading a page''':
** Press the Shift key and browsers Reload-button to reload ignoring cache.
* '''To disable the cache''':
**Add '--disk-cache-size=1 --media-cache-size=1' command line switches to the shortcut target.
* '''To clear the cache''':
**Go to the '''''Tools''''' menu (the wrench on the upper right of the browser) and click on '''''Options''''' [for Macs, go to the "Chrome" menu, and select "Preferences"]
**Select the '''''Under the Hood''''' tab,  and click on '''''Clear browsing data...'''''
**Select the types of data you want to clear&mdash;you probably want '''''Empty the cache'''''
**On the '''Clear data from this period:''' drop-down list, select one of the following:
:::'''Everything''' to clear ''all'' the data you selected;
:::'''Last day''' to clear the data only from the last day;
:::'''Last week''' to clear the data only from the last week; or
:::'''Last 4 weeks''' to clear the data only from the last 4 weeks.
* ''or:'' [PCs, Ubuntu] hit Ctrl+Shift+Del and check '''''Empty the cache''''' from the checkbox list and click '''Clear browsing data'''.
|}
 
{| class="collapsible collapsed" style="margin:3px auto; width:100%; background:transparent; border:1px solid #444; padding:3px;"
! style="text-align:left;" |[[wikipedia:Opera (web browser)|Opera]]
|-
|
* '''Reloading a page''':
** Press the F5 key to reload from the web (and bypass the cache)
** Or hold down the Shift key, and click the Reload button on the navigation toolbar.
**Or Empty the cache completely (see below).
**Or  Click '''edit this page''', and save the page without making any modifications (this doesn't affect the page history).
* '''To completely clear the cache''' :
** From the 'Tools' menu, choose 'Preferences'. Expand the 'Advanced' options and choose 'History'. Click the button called 'Empty now'.
** Alternatively, you can easily clear the cache, history and cookies: From the 'Tools' menu, choose 'Delete private data'. Click 'Details', make sure that 'Delete entire cache' is selected, and then choose any other data you want to remove.
* '''To disable the cache permanently''' (only do this if you are reasonably confident of what you are doing):
** From the 'Tools' menu, choose 'Preferences'. Expand the 'Advanced' options and choose 'History'. Click on the dropdown for 'Disk Cache' and select Off.
* '''To set up Opera to easily bypass the cache of specific files without needing to clear the entire cache'''
** From the 'Tools' menu, choose 'Appearance' (or press Shift-F12).
** In the dialogue, select 'Panels' and tick the 'Info' and the 'Show panel toggle at edge of window' check-boxes.
** Now there will be a clickable bar along the left edge of your browser window.
** Click the bar and select 'Info' (<div style="margin-bottom:-5px;display:inline-block;background:-o-skin('Panel Info');height:-o-skin;width:-o-skin;"></div> icon) and this will give you a list of files used in the page.
** You can now select any single individual file for which you want to selectively bypass cache (as above - using F5 or shift-Reload)
|}
|}</div>

Revision as of 00:52, 11 January 2013

Note: After saving, you have to bypass your browser's cache to see the changes.
  • Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
  • Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
  • Opera users have to clear their caches through Tools→Preferences
  • Konqueror and Safari users can just click the Reload button.
  • Chrome: press Ctrl+F5 or Shift+F5