lancachenet / generic

Generic LAN Download Content Cache
https://hub.docker.com/r/lancachenet/generic/
MIT License
426 stars 57 forks source link

Steam: /server-status #30

Open Crabbey opened 6 years ago

Crabbey commented 6 years ago

For steam, /server-status shouldn't be cached. Contains load information about that CDN server, and may result in lower performance if it remains cached. example content: "status" { "csid" "3" "load" "22" "cell" "31" }

mohsinskynet commented 6 years ago

where to find nginx file to change the CACHE_MEM_SIZE, CACHE_DISK_SIZE, CACHE_MAX_AGE and how to run Game Content Cache Hostnames please post a guide or tell here ty

ScholliYT commented 6 years ago

@mohsinskynet I think you can edit these in the dockerfile. Or by just passing the env variables to the docker run command. Have a look at the readme

mskafi commented 6 years ago

@Crabbey I went down this line too, and changed the generic docker container's source code for nginx to avoid caching it. You might also want to avoid caching /server-list (or close, not sure of the exact URL.) I believe that is why you should actually opt for the steam specific docker image, since it only caches url's under the /depot url, which seems to be independent from the host.

unspec commented 4 years ago

Would be worth re-investigating this as a result of https://github.com/lancachenet/monolithic/issues/85

VibroAxe commented 3 years ago

@Lepidopterist what happened to #111 why did we decide to not merge that?

Lepidopterist commented 3 years ago

Honestly, no idea.

Looks like it wont merge cleanly as that branch is polluted. Can just re-branch, merge and commit.