cl-notebook icon indicating copy to clipboard operation
cl-notebook copied to clipboard

Be surgical about updating addon resources

Open inaimathi opened this issue 7 years ago • 1 comments

Currently, each notebook loads all of the addon CSS and JS resources whenever any piece is changed.

Ideally, we'd end up loading only a minimal subset of the resources to make sure everything evaluates properly. This is going to involve some changes to the server-side addon system.

inaimathi avatar Mar 22 '18 02:03 inaimathi

Low priority because

  1. js resources are almost useless as of the parenscript cell additions
  2. css resources should be relatively rare (they're really only called for when there's code that requires CSS changes across all notebooks. Single notebooks can do the same sort of stuff as parenscript cells, except inside of markup cells. Maybe even do a separate cl-css cell type?)

inaimathi avatar Apr 02 '18 19:04 inaimathi