3 ms·
It probably does. It'll take me a while to dig through the source to find the cause, but preliminary evidence suggests that fastcgi_cache_key doesn't handle $c
by zenexer 8y ago
It probably does. It'll take me a while to dig through the source to find the cause, but preliminary evidence suggests that fastcgi_cache_key doesn't handle $cookie_* variables correctly. If the cookie doesn't exist, it seems to result in a unique key every time. (Edit: The workaround is to assign the $cookie_* variable to another variable and then use that in fastcgi_cache_key.)
If anyone is curious what sort of increase in traffic you should expect from a link to your site appearing on HN, we're getting about 230 additional backend requests per second--that doesn't include anything cached by Cloudflare. You can monitor it in realtime here: https://www.nameprosstatus.com/ https://www.nameprosstatus.com/
- nimbosa 8y agonice live stats monitor, can you link a short short postmortem analysis under that, shortly? Thanks!
- zenexer 8y agoYup, it'll be on there once I finish debugging. Edit: I'm having trouble reproducing it in a controlled environment, so a proper post mortem is probably going to have to wait for another day.
- nimbosa 8y agotrue that, some corner cases only appear in the wild and very hard to reproduce as we don't really know what caused them, anyways, keep us updated.. ;)