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

iframeバカ重い #1

Open
ekuinox opened this issue Apr 3, 2023 · 4 comments
Open

iframeバカ重い #1

ekuinox opened this issue Apr 3, 2023 · 4 comments

Comments

@ekuinox
Copy link
Owner

ekuinox commented Apr 3, 2023

どうにかなんないわけ?

iframeを使わないと試聴ができないのがウーンって感じで、それ以外であれば自力実装できなくもない(多分それはiframe使うよりは軽い

@ekuinox
Copy link
Owner Author

ekuinox commented Apr 12, 2023

どうにかなんないわけ?

@ekuinox
Copy link
Owner Author

ekuinox commented Apr 15, 2023

image
やっぱやめませんか?

@ekuinox
Copy link
Owner Author

ekuinox commented Jun 19, 2023

image

#5 の話として、ユーザーに対して週1から毎日くらいのペースで作り直すプレイリストを用意したいなって思っていて、それをここに埋め込んでやると埋め込みの件数自体は1つになるから読み込みは多少軽くなるのではないかと思う。(重いのはiframeだけではないし)

vercelのhobbyのcronだと1日に10秒のジョブを2つ回すのが限界っぽくて、ユーザー数が増えると厳しそう
1日20ユーザーとみて、7日で入れ替わりながらやって140ユーザー、そんなに使う人は増えないとは思うけど…

対象のユーザーを絞るとかしてもいいかも

@ekuinox
Copy link
Owner Author

ekuinox commented Aug 16, 2023

なんかやれそうな気がする

image

https://developer.spotify.com/documentation/web-api/reference/get-track

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