I received some personal communication that nbviewer seem to cache some notebook indefinitely. I’ve digged into the discourse posts and it seem to not be the first time this happens:
Who is experiencing these, how often and can you share links ?
ALso for transparency I haven’t been involved in nbviewer deployment for quite some time, so here is my curent understanding on how it is deployed, I guess that might interest a few of you.
nbviewer.jupyter.org, is proxied by cloudflare, to fastly which is used as as CDN, when you add ?flush_cache=1, that is the cache it flushes. Fastly as (after I tweaked it) a ma TTl for cache of 600s, and was setup to keep showing the page if nbviewer itself did not respond, but now doesn’t. Otherwise the TTL is taken from nbviewer responses headers.