Large statefile with `baked_statefile = true` fails to open
Closed this issue · 6 comments
jbrea commented
fonsp commented
Can you copy and paste the full contents of the page?
fonsp commented
and could you say a bit more about what steps you took to get here?
jbrea commented
Thanks. Here is the url of the hosted notebook and this is the source and the Dockerfile.
jbrea commented
Could it be that this happens when the statefile exceeds a certain size? I removed some of the embedded images and now the page seems to load fine.
fonsp commented
Interesting! Yes the problem is probably that the statefile gets too big.
For PlutoSliderServer I would always recommend setting Export_baked_statefile = false
, not sure why that's not the default.
That way, the statefile is stored in a separate file, instead of base64-encoded in a javascript string. Then there is no file size limit.
fonsp commented
I think we should:
- Find out what the maximum size is and show an
@error
when it happens. - Consider making baked_statefile=true the default