Skip to content
New issue

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

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

Already on GitHub? # to your account

ページの速度が遅い #13

Open
chizuchizu opened this issue May 28, 2020 · 21 comments
Open

ページの速度が遅い #13

chizuchizu opened this issue May 28, 2020 · 21 comments

Comments

@chizuchizu
Copy link
Owner

https://developers.google.com/speed/pagespeed/insights/?hl=JA&url=chizuchizu.com&tab=mobile

スマホ 43, パソコン 93

消せるところ消したいのですが、消しちゃいけないのもありそうなので様子見しておきます。

@yayoimizuha
Copy link
Contributor

とりあえず、スクリプトのasync,deferとfont-display で様子見る

yayoimizuha referenced this issue in yayoimizuha/chizu_blog_hugo May 28, 2020
サイトが開いて待ってからトランジション掛ければいいじゃないですか
@yayoimizuha
Copy link
Contributor

@yayoimizuha
Copy link
Contributor

今のところできるところやっておきました。
7638dfc

@chizuchizu
Copy link
Owner Author

スマホ 57 パソコン 97 に改善されました

見た感じだとstyle CSSファイルめちゃくちゃ多いように思えるけど全部必要なのかな

あと、画像の最適化の処理もしようと思ってます(こっちはかなり引っかかったので自分でやります)

ブログ周りめちゃくちゃ整備されてるのに肝心な記事が全然ないのでこれから頑張ってたくさん執筆します

@yayoimizuha
Copy link
Contributor

画像の最適化も、画像を放り込むフォルダを別途作っといて、imagemagickとかで実際に画像をアップロードするフォルダに差分で変換するのがベター

@chizuchizu
Copy link
Owner Author

なるほど 参考にします

サムネ自動生成ツールPythonで昔作成したので、GitHub Actionsにぶち込みたいな〜(どのタイミングでサムネ作成するのが良いのかわからないですが)

@yayoimizuha
Copy link
Contributor

Git cloneしてHugo —gc—minifyする前

@chizuchizu
Copy link
Owner Author

了解 後でやってみます

@yayoimizuha
Copy link
Contributor

@chizuchizu
Copy link
Owner Author

ONになってる

@yayoimizuha
Copy link
Contributor

あれ?

@yayoimizuha
Copy link
Contributor

Google Fontsって置き換えできたっけ?

@yayoimizuha
Copy link
Contributor

@yayoimizuha
Copy link
Contributor

chizuchizu pushed a commit that referenced this issue May 30, 2020
@yayoimizuha
Copy link
Contributor

fontdisplay: swap;ed c7d401e

@chizuchizu
Copy link
Owner Author

image

@chizuchizu
Copy link
Owner Author

何となくdisqusが重そう(5秒くらいかかってる)

@chizuchizu
Copy link
Owner Author

image
ホームのみ広告削除したらかなり良くなった

@chizuchizu
Copy link
Owner Author

google広告かなり重いらしいからちと考えます

@yayoimizuha
Copy link
Contributor

何となくdisqusが重そう(5秒くらいかかってる)

disqusは遅延読み込みしてますが...

yayoimizuha added a commit to yayoimizuha/chizu_blog_hugo that referenced this issue May 31, 2020
@yayoimizuha
Copy link
Contributor

@chizuchizu もうCloseしちゃってよくね

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants