I am the developer of Summit for Lemmy.

  • 368 Posts
  • 3.68K Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle








  • Sorry the note is a bit misleading. The change that was made just happens to do both of these things.

    The low level detail is that app caching logic was moved into a lower layer. Some caching logic was moved to the layer that was doing the network calls to fetch posts.

    When the app restarts, that layer restores the cache so it can rely on the cache for some of the network calls. This is why there’s less network calls.

    Because the cache is at a lower level, more work has to be done to process the data which is why its slower. I can also do like a multilayer caching solution but I didn’t think it was necessary.












  • I know the button says “HD” but what it actually does is toggle between the post thumbnail url and the source url.

    Usually the thumbnail is a compressed version of the source url in cases where the source url is an image. The thumbnail URL is typically hosted on your instance whereas the source URL can be from anywhere.

    For example, you see a funny image from Imgur so you grab the link and post it to piefed.social. Piefed.social generates a thumbnail image and stores it on the Piefed.social server.

    Summit will use the thumbnail when the image is small (eg. in the post feed) but when you are looking at the full post, the app prefers the original image over the thumbnail although it will fallback to the thumbnail. This is done because typically the thumbnail is a downscaled image of the original (so it’s much much blurrier).

    In the video you can see that Summit has loaded the thumbnail and it’s trying to load the original.

    Now because the thumbnail and source image can be hosted in different places it is entirely possible for the thumbnail to load but the source url to not load or vise-versa causing this issue. In my opinion, this is not a fault of Summit, it’s just trying to give you the best possible experience and the best possible experience is to show you the full resolution image when it can.

    That being said, your video shows there is a gap in the app. When you expanded the image from the post, it doesn’t allow you to toggle to the thumbnail image. This is something that I will fix in the next update.