This is a local proxy meant to cache KC assets and bypass the gadget IP block. It can be preloaded from a cache dump (linked below). This will improve loading of assets on top of browser built-in cache.
See Installation and setup for more information. If you still have problems, try in Chrome with the extension linked there and if you still have, you can ask for help in the reddit KC discord.
hostname must be 0.0.0.0
{
"hostname": "0.0.0.0",
}Download docker-compose.yaml or copy below code
---
services:
kccp:
container_name: kccp
image: ghcr.io/hitomarukonpaku/kccacheproxy
restart: unless-stopped
ports:
- 8080:8080
volumes:
- ./data:/data
- ./cache:/cacheOpen terminal in the same folder with above file then run
docker compose up -ddocker run --rm -v "./cache:/cache" ghcr.io/hitomarukonpaku/kccacheproxy preloaddocker pull ghcr.io/hitomarukonpaku/kccacheproxy
docker compose up -dBefore running any below command, start kccp container
-
Add
docker exec -it kccp node src/kce add docker restart kccp -
Remove
docker exec -it kccp node src/kce remove docker restart kccp -
Toggle on/off
docker exec -it kccp node src/kce toggle docker restart kccp
-
Redirect using
config.serverIPcurl --location 'http://127.0.0.1:8001/kcs2/resources/ship/full/0147_2230_gmqsmiszmftf.png?version=21' -
Redirect using absolute url
curl --location 'http://127.0.0.1:8001/https/w17k.kancolle-server.com/kcs2/resources/ship/full/0147_2230_gmqsmiszmftf.png?version=21' -
Redirect using
x-hostheadercurl --location 'http://127.0.0.1:8001/kcs2/resources/ship/full/0147_2230_gmqsmiszmftf.png?version=21' \ --header 'x-host: w17k.kancolle-server.com'