It fails open
Every call the middleware makes to Dedica has a timeout. On any error, timeout or unexpected answer, the request goes to your site exactly as if the middleware weren’t there. If Dedica is down, the middleware keeps using the last policy it fetched for up to 15 minutes, then passes everything through.Who gets what
- People and browsers always get your normal page.
- Search engines, link previews and monitors (Googlebot, for example) always get your normal page.
- AI agents (GPTBot and ClaudeBot, for example) get the agent version of a page when one is approved and the site is in autopilot.
- Anyone who asks for a
.mdURL (/pricing.md), sendsAccept: text/markdownor adds?mode=agentgets the agent version.
Cache-Control: private, no-store, so a person who visits the same URL next still gets your page.
Connection status
The middleware sends Dedica a heartbeat at least every 5 minutes and serves/.well-known/dedica.json on your domain. Dedica treats it as connected while both are true and the last heartbeat is less than 15 minutes old. If the check fails, see Troubleshooting.