notebook icon indicating copy to clipboard operation
notebook copied to clipboard

There are many unnecessary image loads

Open ying2025 opened this issue 1 month ago • 5 comments

Problem

There are many unnecessary image loads, and I don't know what in the configuration needs to be modified to cause this. Image

Image @jdfreder @takluyver @minrk @RRosio

ying2025 avatar Dec 02 '25 06:12 ying2025

Hi @ying2025, thank you for opening this issue! Could you please share more information about the set-up of your JupyterLab instance? Are these images getting loaded when you open a notebook? If you could also share any reproduction steps that would be helpful!

RRosio avatar Dec 02 '25 17:12 RRosio

These are from extension manager.

krassowski avatar Dec 02 '25 17:12 krassowski

These are from extension manager.

How can I set it so that it won't load these requests?

ying2025 avatar Dec 03 '25 07:12 ying2025

Hi @ying2025, thank you for opening this issue! Could you please share more information about the set-up of your JupyterLab instance? Are these images getting loaded when you open a notebook? If you could also share any reproduction steps that would be helpful!

I only change the

c.LabApp.static_url_prefix = 'xx'
c.LabServerApp.labextensions_url = `xxx`
c.ServerApp.tornado_settings = {
    "headers": {
        "Content-Security-Policy": "frame-ancestors 'self' *"
    },
   "gzip": True,
   "compress_response": True,
    "static_handler_args": {
        "gzip": True
    }
}

ying2025 avatar Dec 03 '25 07:12 ying2025

Thank you for creating this issue @ying2025.

Clarifying question for @ying2025 and everyone involved in the discussion taking in account that these are from extension manager:

  • Does this happen on notebook launch or on extension manager being open?
  • If it is the latter, seems like the intended behavior of extension manager. Would adding an option to not load extension images at all or to limit a number of images loaded remedy this?

andrii-i avatar Dec 09 '25 17:12 andrii-i