LinkStackOrg / LinkStack

LinkStack - the ultimate solution for creating a personalized & professional profile page. Showcase all your important links in one place, forget the limitation of one link on social media. Set up your personal site on your own server with just a few clicks.
https://linkstack.org
GNU Affero General Public License v3.0
2.29k stars 233 forks source link

Wildly unpredictable and random display issues with logo on web app use #404

Closed starIz212 closed 1 year ago

starIz212 commented 1 year ago

Platform: Web App/Free-Hosted OS: LineageOS 19 (Android 12)

LittleLink Custom personal page randomly reverted to previous, unwanted logo and, when trying to fix the issue by uploading new logo, would randomly choose either of previous or actual logo to display even if the file uploaded was the same for all instances.

Link would then display different logos depending on which platform or how it would be accessed (fennec v instagram, etc.)

Clearing all applications cache and rebooting seems to have done the trick but there might be something more there.

F.Y.I. -> not a coder so couldn't possibly debug such issue, can only inform as to what the UX is.

JulianPrieber commented 1 year ago

We get this a lot. This is a known "issue".

This is due to caching either locally or server side.

We don't change the image name when uploading a new one. This often causes the old image to still appear.

starIz212 commented 1 year ago

Could this be fixed ?

Either by cache purge (may be load expensive) or shasum checking for the images uploaded (not foolproof) ?

JulianPrieber commented 1 year ago

You can add certain headers in your vhost config that make sure no images are cached. I might add an option to do that in the app. I'd hate to rewrite the entire image system just for that.

starIz212 commented 1 year ago

I am a simple web-app user so I wouldn't think that I could touch upon any config file.

I do appreciate your software for doing what linktree does but in a FOSS way.

Being a Linux user, I might one day run a self-hosted instance in which case these solutions may be of utmost relevance.

Regards

JulianPrieber commented 1 year ago

I disabled caching for our hosted instance. Not sure how this will hold up, but it's worth a try.

starIz212 commented 1 year ago

Wouldn't that overload servers if any pull instance for a tag "logo" needs to fetch $PATH ?

JulianPrieber commented 1 year ago

Maybe a network bottleneck at some point. For now, I wouldn't consider this a big issue. It might be if you have a lot of active users.

starIz212 commented 1 year ago

Instances are running smoothly for now -> https://littlelink-custom.llc.ovh/@Amosil

starIz212 commented 1 year ago

Sorry to have to say, but, persistent issue.

Utter randomness when using either redirect (https://littlelink-custom.llc.ovh/@Amosil?fbclid=PAAab_wp7VQU95ICuLK27l5fxaSmmwIY2feBKmHdWdWkOvpe9FzTxiHFo-7XM) or base link (https://littlelink-custom.llc.ovh/@Amosil) through different platforms (fennec, instagram, chrome, etc.)

Side note: Will keep using because performs base function (linktree-like Instagram link repository with proper logo from redirect).

starIz212 commented 1 year ago

Reverted to a previous, "non-logoed", logo page. A fix would be greatly appreciated.

JulianPrieber commented 1 year ago

Reverted to a previous, "non-logoed", logo page. A fix would be greatly appreciated.

Could you please describe your issue in more detail? I'm not sure what you're talking about.

starIz212 commented 1 year ago

To synthesize - and this is all happening on a free-hosted, web-app instance (https://littlelink-custom.llc.ovh/) using a LineageOS 19, Android 12 custom ROM:

Hope this helps

starIz212 commented 1 year ago

As of 04/26/23, using both base link (https://littlelink-custom.llc.ovh/**) on different browsers and configs as well as using Instagram redirects yields the expected result of having the right logo within the page.

Maybe propagation helped, maybe something else did, but whatever did seems to be working.

'*****'