Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client): Fix FOUC by prefetching app.hoge.css #8752

Merged
merged 1 commit into from
May 29, 2022

Conversation

tamaina
Copy link
Contributor

@tamaina tamaina commented May 28, 2022

Fix #8717

What

app.hoge(hash).cssをprefetchすることでFOUCが発生しないようにする。

Additional info (optional)

p1.a9z.devに適用した

/assets/fontawesome/css/all.cssのprefetchは要らなそうなので削除

@github-actions github-actions bot added the packages/backend Server side specific issue/PR label May 28, 2022
@tamaina tamaina changed the title fix(client): Fix FOUC, by prefetching app.hoge.css fix(client): Fix FOUC by prefetching app.hoge.css May 28, 2022
Copy link
Contributor

@ThatOneCalculator ThatOneCalculator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works perfectly on stop.voring.me!

@tamaina tamaina requested a review from syuilo May 28, 2022 21:52
@syuilo syuilo merged commit 4917961 into misskey-dev:develop May 29, 2022
@syuilo
Copy link
Member

syuilo commented May 29, 2022

👍🏻👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/backend Server side specific issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vite causes FOUC
3 participants