Package: gitlab
Version: 12.6.4-1+fto10+1
Severity: minor
Apparently, gitlab is not serving cached assets.
That's result on a very long loading time.
Example of most relevant file:
Cached:
304 Not Modified https://salsa.debian.org/assets/webpack/main.b91d0a07.chunk.js
<-- 2,55mb, 849ms load time
304 Not Modified
https://assets.gitlab-static.net/assets/webpack/main.45f98342.chunk.js <-- 0b,
42ms load time
My installation:
200 OK https://git.myserver.net/assets/webpack/main.chunk.js <-- 20.87mb,
12135ms load time
First of all, the name it's different. On Salsa and gitlab.org, file have a
hash in the name. Second, on my install, always response 200 OK.
Pages are served from nginx.
Other resources are served OK but the name also doesn't have these hash.
Example:
304 Not Modified https://git.myserver.net/assets/webpack/runtime.bundle.js <--
0b, 308ms load time.
What's the problem with that file?
-- System Information:
Debian Release: bullseye/sid
APT prefers buster-fasttrack
APT policy: (500, 'buster-fasttrack'), (500, 'buster-backports'), (500,
'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.62-mod-std-ipv6-64-rescue (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gitlab depends on:
ii asciidoctor 2.0.10-2
ii bc 1.07.1-2+b2
ii bundler 1.17.3-3
ii bzip21.0.8-2
ii dbconfig-pgsql 2.0.13
ii debconf [debconf-2.0]1.5.73
ii exim4-daemon-light [mail-transport-agent]4.93-9
ii gitlab-common12.6.4-1+fto10+1
ii gitlab-workhorse 8.18.0+debian-1
ii libjs-bootstrap4 [node-bootstrap]4.4.1+dfsg1-1
ii libjs-pdf1.5.188+dfsg-1~bpo10+1
ii libjs-popper.js [node-popper.js] 1.16.0+ds2-1
ii libjs-uglify 2.8.29-6
ii lsb-base 11.1.0
ii nginx1.16.1-3
ii nginx-full [nginx] 1.16.1-3
ii node-autosize4.0.2~dfsg1-3
ii node-axios 0.19.0+dfsg-2
ii node-brace-expansion 1.1.11-1
ii node-cache-loader2.0.1-2
ii node-chart.js2.9.3+dfsg-2
ii node-core-js 3.6.1-2
ii node-css-loader 1.0.1-1
ii node-d3 5.12.0-1~bpo10+1
ii node-d3-array1.2.4-2
ii node-d3-axis 1.0.12-2
ii node-d3-brush1.1.5-1
ii node-d3-ease 1.0.5-2
ii node-d3-scale2.2.2-1~bpo10+1
ii node-d3-selection1.4.0-5
ii node-d3-shape1.3.5-2
ii node-d3-time 1.0.11-3
ii node-d3-time-format 2.1.3-2
ii node-d3-transition 1.2.0-4
ii node-dateformat 3.0.0-1
ii node-exports-loader 0.7.0-2
ii node-file-loader 3.0.1-1
ii node-fuzzaldrin-plus 0.5.0+dfsg-3
ii node-glob7.1.6-1
ii node-imports-loader 0.8.0-2
ii node-jed 1.1.1-1
ii node-jquery 3.4.0+dfsg-1
ii node-jquery-ujs 1.2.2-2
ii node-jquery.waitforimages2.4.0+ds-1
ii node-js-cookie 2.2.1-1
ii node-jszip 3.2.2+dfsg-2~bpo10+1
ii node-jszip-utils 0.0.2+dfsg-1
ii node-marked 0.5.1+dfsg-1
ii node-mousetrap 1.6.1+ds-1
ii node-raven-js3.22.1+dfsg-2
ii node-raw-loader 1.0.0-2
ii node-three-orbit-controls82.1.0-2
ii node-three-stl-loader1.0.6-2
ii node-timeago.js