8000 GitHub - mudkipme/lilycove: A MediaWiki reverse-proxy cache purger for 52Poké Wiki.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 16, 2019. It is now read-only.

mudkipme/lilycove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lilycove

A MediaWiki reverse-proxy cache purger for 52Poké Wiki.

Requirements

  • MediaWiki
  • Apache Kafka
  • librdkafka

Configuration

Place a config.toml in current directory. The uris should match the

[http]
port = 8080

[queue]
type = "kafka"
group_id = "lilycove"
broker = "localhost:9092"
topic = "lilycove"
rate_limit = 5
rate_interval = 10000

[purge]
expiry = 86400000

[[purge.entries]]
host = "localhost"
method = "PURGE"
variants = ["zh", "zh-hans", "zh-hant"]
uris = [
    "http://localhost#url##variants#",
    "http://localhost#url##variants#mobile"
]

[[purge.entries]]
host = "media_proxy"
method = "PURGE"
uris = [
    "http://media_proxy#url#",
]

Also add this server to $wgSquidServers to allow MediaWiki produce PURGE requests.

If you use nginx as a reverse proxy server, you'll need libnginx-mod-http-cache-purge module installed.

About

A MediaWiki reverse-proxy cache purger for 52Poké Wiki.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0