You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got more and more questions and confused when I took a look at Slack user identity and user profile.
Say we need to store avatar image url, it looked like :image has a pattern that is BASE_URL?s=${SIZE}&d=FIXED_DATA-${SIZE}.png
Maybe we should consider to generate them instead of storing them all?
Is it worth the hassle though? Even at 20k users, that's just an additional 200k strings stored in the database which seems quite small.
Also I can't find anywhere in the slack docs that guarantee that the URLs will always follow that pattern, what if that is not true for some older slack profiles (before they made it consistent?) 🙈
https://github.com/oxalorg/clojurians-log-v2/blob/11b4de7bf78455a8329a2692b98488e83d76be21/schema.sql#L23
I got more and more questions and confused when I took a look at Slack user identity and user profile.
Say we need to store avatar image url, it looked like
:image
has a pattern that isBASE_URL?s=${SIZE}&d=FIXED_DATA-${SIZE}.png
Maybe we should consider to generate them instead of storing them all?
The text was updated successfully, but these errors were encountered: