I found that each time discourse was rebuilt, the user’s default avatar was re-requested after startup. After doing some learning about it, I discovered that there is a default avatar whose data is stored in a temporary file inside a container “Rails.root/tmp/avatar_proxy”. My question is whether I can consider making this temporary file persistent to reduce the time it takes to rebuild a discourse default profile picture request.
相关话题
话题 | 回复 | 浏览量 | 活动 | |
---|---|---|---|---|
Why is the avatar_proxy folder a temporary folder | 0 | 31 | 2024 年9 月 3 日 | |
Update Avatar Image Serving - Remove Proxy Method | 4 | 72 | 2025 年2 月 6 日 | |
Avatars lost after restore. How to get them back? | 59 | 4927 | 2020 年5 月 24 日 | |
How are avatars stored and accessed? | 7 | 1915 | 2024 年6 月 8 日 | |
Users profile image not showing (letter avatars) | 10 | 5955 | 2019 年3 月 29 日 |