Skip to content

Space image cache is wrong #119

@ChaituVR

Description

@ChaituVR

In some cases, even if we pass new cb param, the image stored in cache is old avatar

Example 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 image

i may delete the cache soon so for future reference:

when i visit link above, I see this
image

if i change cb to something else it works
image

On UI cb is generated with const hash = sha256(props.space.avatar).slice(0, 16);
while props.space.avatar value is ipfs://bafybeiatkvzda3w6xquzv2dkn5gn7f3jrfarxh6bwy5t3lid2hut5qooie

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions