Other accounts (verify ownership):

  • @moseschrute@lemmy.ml
  • @moseschrute@lemmy.zip

aspe:keyoxide.org:JOVNV7OHSJCZMPZCCWS5TZI34A

  • 10 Posts
  • 230 Comments
Joined 1 year ago
cake
Cake day: October 6th, 2024

help-circle



  • I don’t think this will work within the context of a feed of posts. You would have to make at least 1 additional comment for every post in the feed to fetch the comments for a post. So if you fetch a feed of 50 posts, you will have to make 51 requests. If a post has too many comments to fetch in one page, you will have to iterate through all the pages until you have all the comments. So it’s actually >=51 requests. Though I suspect you could get a good idea of a posts comments by fetching just the first page of comments.

    PieFed seems to have tags, but I’m not exactly sure how they work. But that might be a better place to start.






  • I don’t think caching benefits Lemmy and PieFed content that is changing very rapidly (e.g. new comments). That type of caching makes more sense for Lemmy/PieFed images.

    However, bot traffic can get very expensive these days with all the AI crawlers. Cloudflare offers very good tooling to block these bots. I know there are other open source tools and I’m not defending Cloudflare, but it’s also easy to criticize when you’re not the person running the instance. From what I’ve seen, all the admins work very hard to keep the threadiverse running. I’m guessing that’s why a lot of instances are using Cloudflare.