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

/visits の HTML が 5 MB くらいあるのをなんとかする #935

Open
hideo54 opened this issue Aug 17, 2023 · 0 comments
Open

/visits の HTML が 5 MB くらいあるのをなんとかする #935

hideo54 opened this issue Aug 17, 2023 · 0 comments
Assignees

Comments

@hideo54
Copy link
Owner

hideo54 commented Aug 17, 2023

これだけ大きいと Twitter が OGP を展開してくれない。

そもそも日本地図の SVG がでかくて、1個1MB以上ある。

現状、SVGR による埋め込みが行われていて、繰り返し SVG を貼るたびに HTML になっている。
これを use で埋め込むのは一つの解決方法。

それはそうとして SVG がでかすぎるので圧縮しろよというのもある。

@hideo54 hideo54 self-assigned this Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant