#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?
-
#ActivityPub developers: which of these HTTP caching headers does your software publish or consume?
@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.
-
#ActivityPub developers: which of these HTTP caching headers does your software publish or consume?
@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

-
#ActivityPub developers: which of these HTTP caching headers does your software publish or consume?
Cache-Control and Vary
-
@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

@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.
-
R relay@relay.mycrowd.ca shared this topic