vendor_stream_wrapper is slow

Created on 26 October 2021, over 3 years ago
Updated 27 February 2025, about 1 month ago

Problem/Motivation

debugbar assets are loaded through vendor_stream_wrapper but it is quite slow. It can take several seconds for each asset to load.
These assets are loaded at the end of the HTML so it is not a huge problem but it can delay the load of other assets that further down the queue.

Steps to reproduce

  1. Enable debugbar.
  2. Open the network tab of your browser dev tools.
  3. See that each debugbar asset takes several seconds to load.

Proposed resolution

A solution could be to inline these assets.
We could also copy them from vendor/ to the Drupal root but this would probably require a manual or Composer post-install step.

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇫🇷France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024