Content
@
0 reply
0 recast
0 reaction
artlu 🎩
@artlu
um, hypothetically speaking, if a dev changes icon.png and splash.png, and gets users to remove their installed frame and reinstall, how would they ensure that users see the new imagery rather than the cached versions? d̵o̵ ̵I̵ ̵should the dev just change the filenames to icon1.png and splash1.png??? (asking for a friend)
1 reply
1 recast
4 reactions
agusti
@bleu.eth
sounds like the best way to go 😂 u could also just have a /public/icons/{app_version}/icon.png
1 reply
0 recast
1 reaction
agusti
@bleu.eth
make all routes return the same icon.png, but auto-busts cache on each app update
1 reply
0 recast
1 reaction
artlu 🎩
@artlu
didn't work. You can see in this video that at least one path shows the updated icon (not the standard one), but the other paths including the main ones show a cached image. I even killed and restarted Warpcast, but the caching appears to happen on the server. Suggestion for now: get it right the first time, assume you're working with concrete not clay. Also, lookit my commit message 👀 https://github.com/artlu99/piSSStream-framesv2/commit/8277cb5206a00cda7f87b7e88c2394026f46f3b6
0 reply
0 recast
1 reaction