jupyter / jupyter/notebook

How to set up CDN acceleration for static files across multiple extensions?

Open
#7,777 3 comments 0 reactions 0 assignees View on GitHub
documentation enhancement
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

I am using extensions such as @jupyterlab/git, jupyterlab_tensorboard_pro, and @jupyter-lsp/jupyterlab-lsp.
Currently, there are many small JavaScript files, and I would like to deploy these small files on a content delivery network (CDN). How should I configure it? I tried to place them in the jupyter/labextensions/ directory, and then set c.ExtensionApp.static_url_prefix = "xxx/jupyter/labextensions/" in the configuration, but it did not take effect.
@minrk @jdfreder @takluyver
### Proposed Solution

### Additional context

Contributor guide

Open the contributing guide

Research direction

Review how static_url_prefix is applied to jupyter/labextensions/ and how extension JavaScript assets are served. Verify whether the desired CDN URL is supported for multiple extensions, then document the working configuration and a reproducible check. No file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jupyter-notebook
Domain
devops, frontend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.