This comment was the first one I ever saw that said “Deleted by creator” so I was wondering what would happen if you copy the text of it. Apparently, this shows the text of the deleted comment. Is this a bug?

  • flooppoolf@lemmy.world
    link
    fedilink
    English
    arrow-up
    43
    ·
    11 months ago

    It was probably cached beforehand.

    I remember on the old forum with the alien I could hit refresh constantly to see what deleted comments had said if it was cached on time.

      • flooppoolf@lemmy.world
        link
        fedilink
        English
        arrow-up
        13
        ·
        11 months ago

        I think the app is caching things without you having to look at them so they can instantly load. Not 100% though. It’s what I noticed happening years ago.

        • andrew_bidlaw@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          ·
          11 months ago

          Servers cache stuff too. Instead of orchestrating each script and each request to db, they prerender pages to deliver. It’s getting trickier with dynamic sites like reddit, but it still saves a lot in processing time, money.

    • gens@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 months ago

      The hardest thing in programming is naming things, off by one errors, and cache invalidation.

      • Tekhne@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        11 months ago

        The joke is supposed to be “the two hardest problems in programming are naming things, cache invalidation, and off-by-one-errors” - the joke being that you say two problems and are off by one.

    • Rubén@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Lemmy API returns comment content even if it was removed, but with a removed flag. Boost should not show the content in the copy dialog.