Closed ChaituVR closed 1 month ago
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: https://github.com/stamp-labs/stamp/pull/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);
whileprops.space.avatar
value isipfs://bafybeiatkvzda3w6xquzv2dkn5gn7f3jrfarxh6bwy5t3lid2hut5qooie