← 所有消息

Web push, llms.txt and a polite HTTP()

Three additions an app switches on, and that change nothing until it does.

push/WebPush sends a push message to a browser: each message encrypted for the keys of that browser with aes128gcm (RFC 8291) and signed with VAPID (RFC 8292), the keys in [webpush] of the creds. push/push.subscription keeps a browser once by its endpoint and lets it go when the push service says it is gone. docs/push.md of the engine walks through the service worker.

seo serves llms.txt beside robots.txt and the sitemap: the name of the site, what it is about and its pages with the title and description of each, the plain map a language model asks for. Only an indexable host serves it.

HTTP() fetches politely when asked: cache keeps a successful GET on disk for that many seconds, pace keeps time between two requests to one host across every process of the app and leaves a host alone after a 403 or 429 for as long as it asks, and budget caps the requests to a host per day. A request that may not go comes back with 429 and the reason, without reaching the host.

我们使用必要的cookie来使该网站正常工作。在您的许可下,我们还使用分析工具来改善网站。