• @Breezy@lemmy.world
    link
    fedilink
    English
    39 months ago

    What if reddit also kept all deleted comments and post, im sure there are shit loads of things people type out just to delete, thinking all the while it’ll never see the light of day.

    • @Buddahriffic@lemmy.world
      link
      fedilink
      English
      59 months ago

      I’d be surprised if they don’t keep all of that. There were a number of sites for looking at deleted posts. They’d just go and grab everything and compare what was still there with what wasn’t and highlight the stuff that wasn’t there anymore.

      Which is also possible here, though the mod log reduces the need for it. But if someone is looking for posts people change their mind about wanting anyone to see, deleting it highlights it instead of hides it for anyone who is watching for that.

      • @Breezy@lemmy.world
        link
        fedilink
        English
        4
        edit-2
        9 months ago

        I think that site was unddit, but yes those were posted then later deleted. Im talking about just typing out a post or comment and never posting just simply backing out of the page or hitting cancel. Im not just if any of that is stored on the site or just locally.

        • @sacredfire@programming.dev
          link
          fedilink
          English
          49 months ago

          You would be able to tell by monitoring the network tab of the browser developer tools. If post requests are being made (which they probably are, though I’m too lazy to go check) while you are typing a comment, they are most likely saving work in progress records for comments.

    • @pixxelkick@lemmy.world
      link
      fedilink
      English
      49 months ago

      They definitely do, it’s common for such systems to never actually delete anything because storage is cheap. It likely just is flagged deleted=true and the searches just return WHERE [post].Deleted = False on queries on the backend.

      So it looks deleted to the consumer, but it’s all saved and squirreled away on the backend.

      It’s good to keep all this shit for both legal reasons (if someone posts illegal stuff then deletes it, you still can give it to the feds), as well as auditing (mods can’t just delete stuff to cover it up, the original still exists and admins can see it)

      • archomrade [he/him]
        link
        fedilink
        English
        19 months ago

        This is how system storage works generally: the disk “de-lists” the data in the block registry, so it appears there is no data in that block.

        Obviously a server back end it keeping it for redundancy and not efficiency, but procedurally it’s the same