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.
For nbviewer itself, it is hosted on OVH (an european provider), using helm/kubernete (see https://github.com/jupyter/nbviewer.org-deploy), and I’m not sure who has access to the actual credentials to deploy nbviewer.
I believe nbviewer itself does some caching – it used to use memcache, but I’m usure now.
Any help on how to investigate caching issues would be welcome.
I’ll also tag this with mmybinder.org ops tags as I’m unsure there is a better tag.