hmans / indiepants

IndiePants, aka Pants Phase 2. A clean indieweb-like implementation.
13 stars 1 forks source link

Don't serve previous_urls in pants-document JSON #30

Closed hmans closed 9 years ago

hmans commented 9 years ago

pants-document JSON should be as minimal as possible, and the previous_urls array really is just an optimization for the document's hoster to be able to redirect to the current URL, so let's remove it -- at least for now.

In the future, this information could help us identify "moved" posts to clients fetching them (allowing them to deduplicate their local data), but at this point, it's undecided if we don't simply use the pants UUID for this instead. (Remember, IndieWeb has no notion of "previous URLs".)

hmans commented 9 years ago

Fixed in master.