Skip to content

Preload custom emoji on race detail page - #232

Open
fenhl wants to merge 2 commits into
racetimeGG:masterfrom
fenhl:preload-emoji
Open

Preload custom emoji on race detail page#232
fenhl wants to merge 2 commits into
racetimeGG:masterfrom
fenhl:preload-emoji

Conversation

@fenhl

@fenhl fenhl commented Jan 12, 2026

Copy link
Copy Markdown
Contributor

On the race detail page, <link rel="preload"> elements are added to the HTML head to load the category's custom emoji eagerly rather than only once they appear on the page. This is intended to fix an issue where some OoTR racers don't see the seed password, which is posted to chat and raceinfo as custom emoji a short time before the race starts.

I'm having trouble logging into my test instance (will open a separate issue for it if I can't figure it out) so this is not yet tested.

@fenhl

fenhl commented Jan 13, 2026

Copy link
Copy Markdown
Contributor Author

I was able to fix my test environment and can now confirm that this PR does what it's supposed to do in a simulated slow network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant