voila icon indicating copy to clipboard operation
voila copied to clipboard

include a preheat_whitelist config option

Open havok2063 opened this issue 2 years ago • 1 comments

Problem

For the cases when voila is serving a large directory of notebooks, but you only want one or two to be preheated, it would be nice to be able to whitelist those few notebooks, rather than blacklist all other notebooks. Otherwise this could produce a very long list of notebooks in the blacklist that one needs to (remember to) maintain.

Proposed Solution

If it's not possible already, add a new config option, preheat_whitelist, which is a list of notebooks to explicitly preheat. It could behave the same as preheat_blacklist.

havok2063 avatar Mar 29 '22 00:03 havok2063

Thanks @havok2063, indeed it's a good idea since we have both black and white lists for static files.

trungleduc avatar Mar 29 '22 08:03 trungleduc