Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. #ActivityPub developers: which of these HTTP caching headers does your software publish or consume?

#ActivityPub developers: which of these HTTP caching headers does your software publish or consume?

Scheduled Pinned Locked Moved Uncategorized
activitypubevanpollpoll
5 Posts 4 Posters 1 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.
  • evan@cosocial.caE This user is from outside of this forum
    evan@cosocial.caE This user is from outside of this forum
    evan@cosocial.ca
    wrote last edited by
    #1

    #ActivityPub developers: which of these HTTP caching headers does your software publish or consume?

    #EvanPoll #poll

    james@bne.socialJ julian@activitypub.spaceJ rimu@piefed.socialR 3 Replies Last reply
    0
    • evan@cosocial.caE evan@cosocial.ca

      #ActivityPub developers: which of these HTTP caching headers does your software publish or consume?

      #EvanPoll #poll

      james@bne.socialJ This user is from outside of this forum
      james@bne.socialJ This user is from outside of this forum
      james@bne.social
      wrote last edited by
      #2

      @evan My systems export both Etag and Last-Modified. I have no idea how the computers looking at my stuff know which to prioritise, and typically on my browser I still need to refresh the page manually to see any changes. Caching really is quite hard.

      1 Reply Last reply
      0
      • evan@cosocial.caE evan@cosocial.ca

        #ActivityPub developers: which of these HTTP caching headers does your software publish or consume?

        #EvanPoll #poll

        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.spaceJ This user is from outside of this forum
        julian@activitypub.space
        wrote last edited by
        #3

        @evan@cosocial.ca all four, but only for contexts. It's how NodeBB's topic synchronization logic works, although there isn't an FEP for it yet πŸ™‚

        evan@cosocial.caE 1 Reply Last reply
        0
        • evan@cosocial.caE evan@cosocial.ca

          #ActivityPub developers: which of these HTTP caching headers does your software publish or consume?

          #EvanPoll #poll

          rimu@piefed.socialR This user is from outside of this forum
          rimu@piefed.socialR This user is from outside of this forum
          rimu@piefed.social
          wrote last edited by
          #4

          Cache-Control and Vary

          1 Reply Last reply
          0
          • julian@activitypub.spaceJ julian@activitypub.space

            @evan@cosocial.ca all four, but only for contexts. It's how NodeBB's topic synchronization logic works, although there isn't an FEP for it yet πŸ™‚

            evan@cosocial.caE This user is from outside of this forum
            evan@cosocial.caE This user is from outside of this forum
            evan@cosocial.ca
            wrote last edited by
            #5

            @julian hmmm. With a reverse chron collection you can do pretty well with `totalItems` and the first item on the first page.

            If there were net items added or deleted, `totalItems` will be different.

            If the same number of items were added and deleted, the most recent item will be different.

            So you can check synch with a couple of hits.

            1 Reply Last reply
            1
            0
            • R relay@relay.mycrowd.ca shared this topic
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups