diff --git a/app/federation/http/page.mdx b/app/federation/http/page.mdx index 355edaf..75ba12b 100644 --- a/app/federation/http/page.mdx +++ b/app/federation/http/page.mdx @@ -8,8 +8,6 @@ export const metadata = { Lysand uses the HTTP protocol for all communications between instances. HTTP requests must conform to certain standards to ensure compatibility between different implementations, as well as to ensure the security and integrity of the data being exchanged. -## Communication - ALL kinds of HTTP requests/responses between instances **MUST** include a [Signature](/signatures), signed with either the relevant [User](/entities/users)'s private key or the [Server Actor](/entities/server-actor)'s private key. ## Requests @@ -26,7 +24,7 @@ ALL kinds of HTTP requests/responses between instances **MUST** include a [Signa Request signature, if the request is signed. - + Date and time of the request. @@ -56,13 +54,11 @@ ALL kinds of HTTP requests/responses between instances **MUST** include a [Signa Response signature, if the response is signed. - + Date and time of the response. Must include `no-store` on entities that can be edited directly without a `Patch`, such as `Users`. - - **SHOULD** include a large `max-age` on entities that are not expected to change frequently, such as `Notes`, or CDN resources.