Template:Purge: Difference between revisions

From Inkipedia, the Splatoon wiki
(Purge template to allow rebuilding cache on page)
 
m (recat)
 
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
When purge is clicked the page is not only reloaded but the server cache is cleared, forcing the page to be completely re-rendered. Generally, editing a page is sufficient to purge cache. However if a page can't be edited (such as the main page), it can be used to update any transclusions.
When purge is clicked the page is not only reloaded but the server cache is cleared, forcing the page to be completely re-rendered. Generally, editing a page is sufficient to purge cache. However if a page can't be edited (such as the main page), it can be used to update any transclusions.


[[Category:Templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Latest revision as of 22:53, 3 September 2023

Purge

Usage

Syntax: {{Purge|<Link text>|<Span popup text>}}

{{Purge}} produces a link that will clear the cache and rebuild page from the wikitext.

For efficiency in service, MediaWiki caches pages. Depending on the exact sequence of actions editors follow, one may view an out-of-date version of a given page. This happens most often on heavily-edited pages and on pages which contain an instance of transclusion.

When purge is clicked the page is not only reloaded but the server cache is cleared, forcing the page to be completely re-rendered. Generally, editing a page is sufficient to purge cache. However if a page can't be edited (such as the main page), it can be used to update any transclusions.