Closed jeroen closed 11 months ago
Maybe the new pak client for the wasm builds causes heavy load.
Server is now checking etags again: https://github.com/r-universe-org/cranlike-server/commit/87f9b000dff6f623cea118ab67dee8d46e22164b
Also setting proxy_cache_revalidate on
in nginx to enable shared cache.
This seems to work! The first 10 seconds of refreshing we get:
< x-runiverse-cache: HIT
And after 10 sec we get:
< x-runiverse-cache: REVALIDATED
Even from a different client.
Server is under heavy load due to repeated calls from indexing the cran metadata:
We should cache these better.