• see cool video on front page
  • click
  • “Haha, fuck you, you’ve just clicked on the invisible button that takes up half the thumbnail like a fucking moron!”
  • redirected to the sponsorship info page
  • go back
  • video gone

why are you completely incapable of making a functional website you wet dildo

  • hex@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    They could cache the results you receive on your last visit of the home page which would fix this

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      It would not fix it. I also want to be able to do things like send the URL to someone else and have confidence that it would load the same content for them, too.

      • hex@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        I mean of course that would be nice, but that’s just not realistic. You can’t store that info in a link without it being monstrous.

        Why do you say they couldn’t cache the results and instead of re-fetching everything just use the cache results?

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          You can’t store that info in a link without it being monstrous.

          Sure you can, if your backend is designed reasonably.

          How? You put a timestamp (or equivalent) in the URL and filter the search to only operate on the records that existed at that time. Assuming your search algorithm is deterministic, it should find the same results.

          • hex@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 months ago

            I agree with your point, but our algorithms are not deterministic and I doubt they ever will be again. Perhaps they could use a set of tags to create a deterministic result for a certain “genre” of results.