-
Notifications
You must be signed in to change notification settings - Fork 21
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
Space image cache is wrong #119
Comments
Do we have some more recent example of broken cache? The one in the task no longer works. |
I’ve never been able to reproduce the issue. My take on solving this was to refactor the code, to extract the cache engine |
We had bug that could cause it, but it should have been solved before this issue was created so I'm not sure: #55 Ideally we should have repro so we can see if what we do actually fixes it, without it I don't think I'd bother. |
We can reopen if we reproduce it. |
In some cases, even if we pass new
cb
param, the image stored in cache is old avatarExample https://cdn.stamp.fyi/space/wen🌕.eth?s=96&cb=c178562f8f12066b here is this case
c178562f8f12066b
belong to new image hash but somehow in cache we still have old imagei may delete the cache soon so for future reference:
when i visit link above, I see this
if i change
cb
to something else it worksOn UI
cb
is generated withconst hash = sha256(props.space.avatar).slice(0, 16);
while
props.space.avatar
value isipfs://bafybeiatkvzda3w6xquzv2dkn5gn7f3jrfarxh6bwy5t3lid2hut5qooie
The text was updated successfully, but these errors were encountered: