Re:Notebooks as reusable Python programs
by mscolnick on Wednesday March 19, 2025 @04:34PM
(#43417005)
The default "store" is a local FileStore. In your case, it will save the outputs to a file on disk called `my_cache`.
We plan to add more stores like Redis, S3-bucket, or an external server, since you may not always want to commit this file, but like you said want others to avoid the computation.
If I understand it correctly, `@mo.persistent_cache(name="my_cache")` creates a binary file `my_cache` that I should commit as well if I don't want others to repeat the computation?
This kinda solves the problem, except for having two files per notebook, and that marimo notebooks are no longer viewable with output on github directly.