Purge URL

From Wikitech
Jump to: navigation, search

purging specific URLs from Squid cache.

The example below was used to purge http://sep11.wikipedia.org/wiki/ which is a 301 redirect to an external site. [1].

The script requires a --wiki name, so in this case "aawiki" had no specific meaning but had to be added.

/home/wikipedia/common/php/maintenance$ echo 'http://sep11.wikipedia.org/wiki/'
| mwscript purgeList.php --wiki aawiki
Purging 1 urls...
Done!
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox