Refresh/Clear NBViewer Cache

Add a button to navigation bar to refresh/clear the cache of nbviewer

ئاپتورى
朱沛俊
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
58
باھا نومۇرى
0 0 0
نەشرى
2.4.1
قۇرۇلغان ۋاقتى
2016-10-08
يېڭىلانغان ۋاقتى
2017-05-28
Size
1.2 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

The script will add a button to navigation bar to refresh/clear the cache of nbviewer by appending ?flush_cache=true to the url.

Details from the Jupyter Notebook Viewer FAQ may be helpful:

Q: I want to remove/update a notebook from Notebook Viewer.

A: The Notebook Viewer does not store any notebooks. You have to find the original place where the notebook is hosted to update/remove it. Updates occur automatically, but can take some time to appear, as we cache rendered notebooks for approximately 10 minutes. To force an update, append ?flush_cache=true to the viewer URL.