Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. Uncategorized
  4. Questions:

Questions:

Scheduled Pinned Locked Moved Uncategorized
4 Posts 3 Posters 3 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mcc@mastodon.socialM This user is from outside of this forum
    mcc@mastodon.socialM This user is from outside of this forum
    mcc@mastodon.social
    wrote last edited by
    #1

    Questions:

    - What if we added something to HTTP where if you're only fetching a page to read OpenGraph tags, you send a special header saying "I only want the OpenGraph data", and the server then has the option of sending only the <meta> tags and nothing else?

    - Could this help with the Mastodon "hug of death" (because the server can generate a simpler version of the page, caches can behave differently etc) where many instances rush to generate preview cards driving the previewed site offline?

    trwnh@mastodon.socialT 1 Reply Last reply
    0
    • mcc@mastodon.socialM mcc@mastodon.social

      Questions:

      - What if we added something to HTTP where if you're only fetching a page to read OpenGraph tags, you send a special header saying "I only want the OpenGraph data", and the server then has the option of sending only the <meta> tags and nothing else?

      - Could this help with the Mastodon "hug of death" (because the server can generate a simpler version of the page, caches can behave differently etc) where many instances rush to generate preview cards driving the previewed site offline?

      trwnh@mastodon.socialT This user is from outside of this forum
      trwnh@mastodon.socialT This user is from outside of this forum
      trwnh@mastodon.social
      wrote last edited by
      #2

      @mcc i think ive posted before about an idea for what is basically http HEAD but it also returns html <head>. or otherwise some http headers that fulfill the same use case as opengraph, so the existing http HEAD can return those.

      asoftdessert@mastodon.socialA 1 Reply Last reply
      0
      • trwnh@mastodon.socialT trwnh@mastodon.social

        @mcc i think ive posted before about an idea for what is basically http HEAD but it also returns html <head>. or otherwise some http headers that fulfill the same use case as opengraph, so the existing http HEAD can return those.

        asoftdessert@mastodon.socialA This user is from outside of this forum
        asoftdessert@mastodon.socialA This user is from outside of this forum
        asoftdessert@mastodon.social
        wrote last edited by
        #3

        @trwnh @mcc Headers would get clunky (especially with H2/H3), and HEAD must return the same as GET, so data would be potentially duplicate. Maybe using Accept with an extended mediatype, which would be cache friendlier?

        trwnh@mastodon.socialT 1 Reply Last reply
        0
        • asoftdessert@mastodon.socialA asoftdessert@mastodon.social

          @trwnh @mcc Headers would get clunky (especially with H2/H3), and HEAD must return the same as GET, so data would be potentially duplicate. Maybe using Accept with an extended mediatype, which would be cache friendlier?

          trwnh@mastodon.socialT This user is from outside of this forum
          trwnh@mastodon.socialT This user is from outside of this forum
          trwnh@mastodon.social
          wrote last edited by
          #4

          @asoftdessert @mcc one thing that is funny about content formats is that a lot of them have metadata headers and content bodies, but you can just stuff an entire head+body into another body with its own head, matryoshka style. you can just keep doing this arbitrarily as long as your consumer knows which layers to unwrap and how

          anyway for http i think http resources having headers plus the HEAD method can work with zero unwrapping

          if you wanna conneg media type perhaps application/oembed+json?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Popular