Help:Purge

{|width="100%" style="border:2.8px solid #bca1a3; border-radius: 1em"
 * valign="top" width="50%" style="background: transparent; border: 3px; padding: .5em 1em; border-radius: 1em"|

The purge function is a handy way to clear a page's server cache. This forces the wiki software to rebuild the page completely.

For example, some pages often use templates, and edits to those templates may not always update immediately on articles. If you can't see the changes properly, purging the page can help. It is also recommended to fully refresh your browser cache as that can also help.

How to purge

 * Note: purging is usually very quick, but can potentially take a few minutes if the servers are very busy.


 * On any Wikia article page :
 * 1) At the end of the URL add the text
 * 2) Visit that link; the page should be refreshed in a short time

Note, if the URL includes an, remove that part before adding the purge code.

Alternatively, you can make a null edit by going into edit mode for the page and saving without making any changes.

How it works
When a change is made to a page, the Media Wiki software saves the change to the main database. The next time a non-signed in user views the page, a copy of that page is made to a "server cache" on a set of secondary servers. Until the page is changed again, all non-signed in users who try to view that page will be shown the same copy from the server cache. That way, users who are viewing but not editing do not put a drain on the main database server, and still see the most recent version of the page.

Normally, when a change is made, the page is marked as "touched" and the software will create a new copy of the page for the server cache. However, when a change is made to a sub-page or template, but not to the article page which transcludes it, the article page is not marked as "touched," and a new copy is not immediately generated for the cache. Therefore anyone viewing the article page may see a cached page which includes old versions of the sub-page or template.

The purge command forces the server cache to purge the old version of the page. The next time the page is viewed, the page will be rebuilt from scratch, including fresh versions of all sub-pages and templates, and a new copy will be made for the server cache.

Note that this may take a few minutes in extreme cases. Given that it causes the servers more work, please avoid overusing the purge command.