You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Purge URL: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Reedy
(Shorten path prefix, one line)
 
imported>Krinkle
(Merge into Multicat)
 
Line 1: Line 1:
=== purging specific URLs from [[Squid]] cache. ===
#REDIRECT[[Multicast HTCP purging#Purge a URL]]
 
The example below was used to purge http://sep11.wikipedia.org/wiki/ which is a 301 redirect to an external site. [https://bugzilla.wikimedia.org/show_bug.cgi?id=30261].
 
The script requires a --wiki name, so in this case "aawiki" had no specific meaning but had to be added.
 
<pre>
/home/wikipedia/common/$ echo 'http://sep11.wikipedia.org/wiki/' | mwscript purgeList.php --wiki aawiki
Purging 1 urls...
Done!
</pre>
 
[[Category:How-To]]
[[Category:Squid]]

Latest revision as of 11:17, 3 December 2015