Persistence of data?

Dear All,

I have an example where some data are fed to a server, and the results visualised:

https://beta.observablehq.com/@sdwfrost/visualising-hiv-drug-resistance

(yes, I know it isn’t too pretty as yet)

Is there a way to get persistence of the downloaded JSON automatically? I’d rather not have the server hammered everytime someone looks at the (same) notebook unless a different URL is used.

Best
Simon

Just noticed a couple of posts here and here; my issue of how to use cached results unless someone changes the URL still stands, though.

This advice (which you linked) still stands:

In the interim, probably your best bet is to download your transformed data using DOM.download and then host it on your GitHub account as described here:

https://beta.observablehq.com/@mbostock/introduction-to-data