Page MenuHomePhabricator

QuickCategories is extremely slow to load
Closed, ResolvedPublic

Description

While testing the Cat-a-lot integration with QuickCategories, I noticed that QuickCategories is currently extremely slow to load, both when opened with URL parameters and even when accessed directly without any parameters (i.e., just opening https://quickcategories.toolforge.org/).

In most cases:

  • The UI loads partially or takes a long time to render
  • There’s a noticeable delay even before any request is made
  • Sometimes the page becomes unresponsive altogether

This makes it difficult to evaluate the integration flow or complete test edits.

I'm filing this in case it's a Toolforge-wide issue or something related to backend slowness. It may not be directly related to QuickCategories code itself, but perhaps debug logs or a restart could help resolve the issue.

Event Timeline

Probably T398103: tools-static.wmflabs.org down (504) 2025-06-28; the tool itself seems to respond quickly:

$ time curl -I https://quickcategories.toolforge.org/
HTTP/2 200 
server: nginx/1.22.1
date: Sat, 28 Jun 2025 08:27:18 GMT
content-type: text/html; charset=utf-8
content-length: 9688
x-frame-options: deny
vary: Cookie
set-cookie: session=eyJjc3JmX3Rva2VuIjoiNmZYaTcxaG16QVJUZWk5YUgyRGhPVDdTOVAyTnpvR0ZmdEU4aTZSZllydTVjTHllQTRPdXhwc25BYnlVYUd0WSJ9.aF-nbQ.Fqmtl2feccrWDOgmGJrfM9bIxww; HttpOnly; Path=/
strict-transport-security: max-age=31622400
x-clacks-overhead: GNU Terry Pratchett
permissions-policy: browsing-topics=()
content-security-policy-report-only: default-src 'self' 'unsafe-eval' 'unsafe-inline' blob: data: filesystem: mediastream: *.toolforge.org wikibooks.org *.wikibooks.org wikidata.org *.wikidata.org wikimedia.org *.wikimedia.org wikinews.org *.wikinews.org wikipedia.org *.wikipedia.org wikiquote.org *.wikiquote.org wikisource.org *.wikisource.org wikiversity.org *.wikiversity.org wikivoyage.org *.wikivoyage.org wiktionary.org *.wiktionary.org *.wmcloud.org *.wmflabs.org wikimediafoundation.org mediawiki.org *.mediawiki.org wss://quickcategories.toolforge.org; report-uri https://csp-report.toolforge.org/collect;

real    0m0,529s

$ time curl -I https://quickcategories.toolforge.org/batch/8918/
HTTP/2 200 
server: nginx/1.22.1
date: Sat, 28 Jun 2025 08:27:20 GMT
content-type: text/html; charset=utf-8
content-length: 3604
x-frame-options: deny
strict-transport-security: max-age=31622400
x-clacks-overhead: GNU Terry Pratchett
permissions-policy: browsing-topics=()
content-security-policy-report-only: default-src 'self' 'unsafe-eval' 'unsafe-inline' blob: data: filesystem: mediastream: *.toolforge.org wikibooks.org *.wikibooks.org wikidata.org *.wikidata.org wikimedia.org *.wikimedia.org wikinews.org *.wikinews.org wikipedia.org *.wikipedia.org wikiquote.org *.wikiquote.org wikisource.org *.wikisource.org wikiversity.org *.wikiversity.org wikivoyage.org *.wikivoyage.org wiktionary.org *.wiktionary.org *.wmcloud.org *.wmflabs.org wikimediafoundation.org mediawiki.org *.mediawiki.org wss://quickcategories.toolforge.org; report-uri https://csp-report.toolforge.org/collect;

real    0m0,340s

Ah okay! That makes sense. Thanks, appreciate the quick response!

adiba_anjum claimed this task.