freeCodeCamp / freeCodeCamp/infra

[Bug]: Slow loading times for static sites

Open
#1,149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
80
Forks
28
Avg merge
1d 14m
Merged PRs (30d)
5

Description

### Describe the bug

When viewing constellation apps, e.g. https://sudoku.freecode.camp/, there are surprisingly large delays before the initial server response.

### To Reproduce

1. load https://fast-test.preview.freecode.camp/ with the network tab open
2. check the timing tab for the html (fast-test.preview.freecode.camp itself)
3. see a multi second delay

The delay seems to vary by region. I've polled a few people in Italy (~2-3s), Turkey (~33s), South Africa (~4s).

https://fast-test.preview.freecode.camp/ is a simple site where the index.html is just `

hello
`

### Expected behavior

For reference, github pages have a delay of around 10ms for me. https://www.freecodecamp.org/ itself fluctuates between 100ms and 300ms.

I would have expected ~10ms but anything up to 300ms would not have been surprising.

### Screenshots

Image

### Desktop OS

Ubuntu 24

### Desktop Browser

Chrome

### Desktop Browser Version

152.0.7977.82 (Official Build) (x86_64)

### Mobile Device

_No response_

### Mobile OS

_No response_

### Mobile Browser

_No response_

### Mobile Browser Version

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the delay at https://fast-test.preview.freecode.camp/ with the browser network timing tab, then compare results across regions and with the reference sites in the issue. Done means identifying the source of the multi-second initial response and verifying that the response time is consistently reduced toward the expected range.

Written by the indexing model from the issue text.

Assessment

Domain
infrastructure, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.