Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 29 Nov 2026. What's built · Install 0.6.0
jadpo
ReferenceErrors

ErrorsBuilt-in services · rule

connection.memory_cache

On this page

A cache connection keeps its cache in each server's own memory.

Area 16, Built-in services; declinable; the next step is usually the human's.

Why Jadpo refuses it

driver: Driver.memory keeps a cache in each server's own memory (Cache drivers and what a cache may hold). Each server then has a cache of its own, emptied on every restart, and a change one server clears from its cache is still served by the others until their entries reach their keep:. On one server that is fine; on several it serves stale pages. Whether the app runs on one server is a judgement call, so Jadpo reports it and lets a person decline it with a reason.

What it looks like

example
application {    connections: {        cache: {            driver: Driver.memory        }    }}
jadpo checkcheck failed: 1 error, 1 file

error cache keeps a cache in each server's own memory

--> app.jadpo:3:9

  |3 |         cache: {  |         ^^^^^ each server's own cache
reason
cache has driver: Driver.memory, so each server keeps a cache of its own, lost on every restart, and a change one server clears from its cache is still served by the others until their entries reach their keep:. One server, or a Redis connection, keeps every copy current.
next
Give cache driver: Driver.redis and a url:, which every server shares, or write decline connection.memory_cache: "<why>" above it if this is deliberate (human)
rule
connection.memory_cache
help
https://jadpo.dev/docs/errors/connection.memory_cache

(human) at the end of the next: line tells your coding agent to stop and ask you which fix you want, because the choice is yours to make.

How to fix it

If the app runs on several servers, keep the cache in Redis, which every server shares:

example
    connections: {        cache: {            driver: Driver.redis            url: config.redis_url        }    }

Every server then reads one cache, and a change any of them makes clears it for all.

If it runs on one server, decline it with the reason:

example
application {    connections: {        decline connection.memory_cache: "The shop runs on one server, so its one cache is every cache."        cache: {            driver: Driver.memory        }    }}

A Worker keeps no memory between requests, so a deployable built for Workers is refused a cache in memory whatever the decline says (deployable.target_unsupported).

Markdown for agents: /docs/errors/connection.memory_cache.md.Built from Jadpo's main branch at commit 9080dc3.