Community Central
Community Central
mNo edit summary
Tags: Help sourceedit
m (→‎Further help and feedback: Mass editing of links)
Tag: Help
(25 intermediate revisions by 15 users not shown)
Line 1: Line 1:
 
{{tocright}}In order to reduce loading times and save bandwidth when you visit Fandom, your [[Help:Supported browsers|web browser]] is instructed to save the current view of the page. This is called your "'''cache'''". If you visit that page again, your browser will check to see if there is a newer version of a page available. If there is, a new version is downloaded. If not, it will quickly load much of the page straight from your cache.
{{tocright}}
 
In order to reduce loading times and save bandwidth when you visit Fandom, your [[Help:Supported browsers|web browser]] is instructed to save the current view of the page. This is called your "'''cache'''". If you visit that page again, your browser will check to see if there is a newer version of a page available; if there is, a new version is downloaded. If not, it will quickly load much of the page straight from your cache.
 
   
 
Sometimes, however, you might continue to see the cached version of the page even when a newer one is available, for a variety of reasons. This can be frustrating if a change has recently been made to the page.
 
Sometimes, however, you might continue to see the cached version of the page even when a newer one is available, for a variety of reasons. This can be frustrating if a change has recently been made to the page.
   
In order to ensure you're getting the latest version of the page you can manually '''bypass your cache'''. Bypassing your cache helps you to get the most recent version of a page, which will often clear errors you may see. This process is also sometimes called a '''hard refresh'''.
+
In order to ensure you're getting the latest version of the page you can manually '''bypass your cache''' a process which is sometimes also called a '''hard refresh''' — in which you effectively tell your browser to ignore its cache and fetch the entire page again from the server. This is sometimes confused with ''clearing'' your cache, but that's actually a different process with similar effects, and something we won't discuss here.
   
 
==When to bypass your cache==
 
==When to bypass your cache==
 
Generally, you may need to bypass your cache if you have made changes to:
 
Generally, you may need to bypass your cache if you have made changes to:
*A CSS page (personal or community-level)
+
* A CSS page (personal or community-level)
*A JS page
+
* A JS page
*The wiki favicon
+
* The wiki favicon
  +
However, if you see ''anything'' "odd" or not changing, it's worth bypassing your cache to see if the problem resolves.
 
You may need to update your cache in other cases, such as updates to images, or to clear a "broken" page view. In general, if you see anything "odd" or not changing it is worth trying to clear your browser cache to see if it resolves the issue.
 
   
 
==How to bypass your cache==
 
==How to bypass your cache==
 
For most browsers, bypassing the cache is simple. Below are some browser-specific ways to do so:
 
For most browsers, bypassing the cache is simple. Below are some browser-specific ways to do so:
   
;Chrome
+
; Chrome
:Windows: Hold the ''Ctrl'' key and press the ''F5'' key.
+
: Windows: Hold the ''Ctrl'' key and press the ''F5'' key.
:OS X: Hold both the ''⌘ Cmd'' and ''⇧ Shift'' keys and press the ''R'' key.
+
: macOS: Hold both the ''⌘ Cmd'' and ''⇧ Shift'' keys and press the ''R'' key.
  +
: Chrome OS: Hold both the ''⇧ Shift'' and click the ''Reload'' toolbar button.
   
;Safari
+
; Safari
:Hold down the ''⇧ Shift'' key and click the ''Reload'' toolbar button.
+
: Though it's been long advised to hold down the ''⇧ Shift'' key and click the ''Reload'' toolbar button, modern versions of Safari have a better method. Hold both the ''⌥ Opt'' and ''⌘ Cmd'' keys and press the ''R'' key. Apple calls this "reloading the page from origin", which is just a different way of saying "bypassing your cache".
   
;Firefox
+
; Firefox
:Windows: Hold the ''Ctrl'' key, and press ''F5''.
+
: Windows: Hold the ''Ctrl'' key, and press ''F5''.
:OS X: Hold the ''⌘ Cmd'' and ''⇧ Shift'' keys, and then press ''R''.
+
: macOS: Hold the ''⌘ Cmd'' and ''⇧ Shift'' keys, and then press ''R''.
   
;Internet Explorer
+
; Internet Explorer
:Hold the ''Ctrl'' key, and press ''F5'' (or click the ''Refresh'' button).
+
: Hold the ''Ctrl'' key, and press ''F5'' (or click the ''Refresh'' button).
   
 
For more information (including other browsers), see [[Wikipedia:Wikipedia:Bypass your cache|this page on Wikipedia]].
 
For more information (including other browsers), see [[Wikipedia:Wikipedia:Bypass your cache|this page on Wikipedia]].
   
 
==Forcing the server to re-render a page==
 
==Forcing the server to re-render a page==
Bypassing your own cache might not be enough if the updated content is not being properly displayed or is contained in a [[Help:Templates|template]] or other transcluded page. You may need to [[Help:Purge|purge]] the server cache of old versions of the page in order for the new material to be visible.
+
Bypassing your own cache might not be enough if the updated content is not being properly displayed or is contained in a [[Help:Templates|template]] or other transcluded page. You may need to [[Help:Purge|purge]] the ''server's'' cache of old versions of the page, by appending the URL with <code>?action=purge</code>, in order for the new material to be visible.
  +
  +
If that doesn't work, you can try debugging your code by adding <code>?debug=1</code> at the end of the URL of any page. Debugging your code means that the code will almost 100% guarantee the load of the recently added script(s) and/or stylesheet(s).
   
 
==Further help and feedback==
 
==Further help and feedback==
 
{{Help and feedback section}}
 
{{Help and feedback section}}
  +
[[be:Даведка:Кэш]]
 
 
[[es:Ayuda:Limpiar la caché]]
 
[[es:Ayuda:Limpiar la caché]]
[[pt:Ajuda:Limpe o seu cache]]
 
 
[[fr:Aide:Purge du cache]]
 
[[fr:Aide:Purge du cache]]
 
[[it:Aiuto:Bypassare la cache]]
 
[[it:Aiuto:Bypassare la cache]]
 
[[ja:ヘルプ:キャッシュをクリアする]]
 
[[nl:Help:Je cache omzeilen]]
 
[[nl:Help:Je cache omzeilen]]
 
[[pl:Pomoc:Odświeżanie cache]]
 
[[pt:Ajuda:Limpe seu cache]]
 
[[pt:Ajuda:Limpe seu cache]]
 
[[ru:Справка:Кэш]]
[[pl:Pomoc:Odświeżanie cache]]
 
  +
[[tr:Yardım:Önbelleğinizi atlayın]]
[[ru:Справка:Кеш]]
 
  +
[[uk:Довідка:Кеш]]
[[ja:ヘルプ:キャッシュをクリアする]]
 
  +
[[vi:Trợ giúp:Xử lý bộ nhớ đệm]]
 
[[zh:Help:繞過緩存]]
 
[[zh:Help:繞過緩存]]
[[Category:Help|Help]]
+
[[Category:Help|{{PAGENAME}}]]

Revision as of 06:52, 1 December 2019

In order to reduce loading times and save bandwidth when you visit Fandom, your web browser is instructed to save the current view of the page. This is called your "cache". If you visit that page again, your browser will check to see if there is a newer version of a page available. If there is, a new version is downloaded. If not, it will quickly load much of the page straight from your cache.

Sometimes, however, you might continue to see the cached version of the page even when a newer one is available, for a variety of reasons. This can be frustrating if a change has recently been made to the page.

In order to ensure you're getting the latest version of the page you can manually bypass your cache — a process which is sometimes also called a hard refresh — in which you effectively tell your browser to ignore its cache and fetch the entire page again from the server. This is sometimes confused with clearing your cache, but that's actually a different process with similar effects, and something we won't discuss here.

When to bypass your cache

Generally, you may need to bypass your cache if you have made changes to:

  • A CSS page (personal or community-level)
  • A JS page
  • The wiki favicon

However, if you see anything "odd" or not changing, it's worth bypassing your cache to see if the problem resolves.

How to bypass your cache

For most browsers, bypassing the cache is simple. Below are some browser-specific ways to do so:

Chrome
Windows: Hold the Ctrl key and press the F5 key.
macOS: Hold both the ⌘ Cmd and ⇧ Shift keys and press the R key.
Chrome OS: Hold both the ⇧ Shift and click the Reload toolbar button.
Safari
Though it's been long advised to hold down the ⇧ Shift key and click the Reload toolbar button, modern versions of Safari have a better method. Hold both the ⌥ Opt and ⌘ Cmd keys and press the R key. Apple calls this "reloading the page from origin", which is just a different way of saying "bypassing your cache".
Firefox
Windows: Hold the Ctrl key, and press F5.
macOS: Hold the ⌘ Cmd and ⇧ Shift keys, and then press R.
Internet Explorer
Hold the Ctrl key, and press F5 (or click the Refresh button).

For more information (including other browsers), see this page on Wikipedia.

Forcing the server to re-render a page

Bypassing your own cache might not be enough if the updated content is not being properly displayed or is contained in a template or other transcluded page. You may need to purge the server's cache of old versions of the page, by appending the URL with ?action=purge, in order for the new material to be visible.

If that doesn't work, you can try debugging your code by adding ?debug=1 at the end of the URL of any page. Debugging your code means that the code will almost 100% guarantee the load of the recently added script(s) and/or stylesheet(s).

Further help and feedback