Post-Quantum Caching

Run expensive computation once. Never again.

Cachee turns repeated computation into instant retrieval — including STARK verification, ZK proofs, and high-cost workloads that traditional caches cannot touch. Drop-in Redis replacement. Zero migration.

1.5us
Average read latency
99%+
Production hit rate
660K+
Operations per second
Definition

Post-quantum caching eliminates repeated computation in systems where STARKs, zero-knowledge proofs, fully homomorphic encryption, and verifiable computation make verification the bottleneck. A proof is verified once. The result becomes a reusable, portable asset — served in microseconds or nanoseconds. Computation becomes an asset, not a cost.

Your cache stores data. Cachee stores work.

Traditional caching saves values — the output of a database query, an API response, a rendered page. The value has no computational weight. It is data at rest.

Cachee saves the result of computation itself. That means:

Run it once. Serve it forever.

This is what Post-Quantum Caching actually means

Modern systems are shifting to cryptographic computation as the core of their trust model:

All of them share one problem: verification and computation are expensive — and they get repeated constantly.

Cachee removes that repetition. A proof is verified once. Then it becomes a reusable, portable result — served in microseconds or nanoseconds. Not faster compute. No compute.

From computation to retrieval

Without Cachee
Run → Verify → Repeat → Repeat → Repeat
With Cachee
Run → Verify → Cache → Instant retrieval forever

Before

Computation is a recurring cost

Every request re-verifies

Latency scales with proof complexity

Throughput capped by verification speed

After

Computation is a one-time investment

Every request retrieves a cached result

Latency is constant: 1.5 microseconds

Throughput limited only by memory bandwidth

Built for workloads Redis was never designed for

Redis works for simple key-value storage. It breaks when:

Cachee handles:

STARK / ZK verification caching

Verify a proof once. Serve the result at 1.5 microseconds. Orders of magnitude faster than re-verification.

FHE pipeline outputs

Homomorphic computation is expensive. Cache the decrypted result. Never re-run the pipeline for the same input.

High-frequency decision engines

Pricing, auth, risk scoring, fraud detection. The decision is computed once. Every subsequent check is a cache hit.

Cross-system reusable results

A proof verified in one service is valid everywhere. Cachee makes it portable across your entire architecture.

140+ Redis-compatible commands. Same interface. Different class of system.

Performance that changes system design

1.5us
Avg read latency
99.05%
Production hit rate
660K+
Ops per second
10-20x
Latency reduction vs Redis

For cached proof verification, the speedup is not 10x or 20x. It is orders of magnitude. A STARK verification that takes 25 microseconds uncached becomes 0.085 microseconds cached — a 294x speedup. The verification is not faster. It is eliminated.

This is not a faster cache. It eliminates the need to recompute entirely.

Post-Quantum by design

Cachee is built for systems where:

Cachee is the execution layer behind verifiable systems. It does not merely store results. It stores proven results.

The Four Locks (v0.2.0)

Every cached result in Cachee carries four system guarantees that make it not a cache entry, but a computation artifact:

Computation Fingerprint

Every value carries a deterministic identity: input hash, computation definition, parameter set, engine version. Two identical outputs from different computations are different cache entries.

Invalidation Lifecycle

Explicit state machine: Active, Superseded, Revoked, Expired, Deprecated. No silent eviction. State transitions are recorded. Truth claims are never silently dropped.

Read-Path Trust Contract

Every read returns value + computation fingerprint + verification status + signatures + provenance + lifecycle state. This is what makes Cachee not Redis.

Verification Cost Model

Configurable per tenant: always verify, trust cached, probabilistic sampling, age-weighted. Regulators get full verification. Internal services get cached trust.

SET mykey result FP <computation_fingerprint>
GETVERIFIED mykey         # returns full trust envelope
INVALIDATE mykey REASON "superseded by v2"
SUPERSEDE mykey mykey_v2
STATE mykey               # returns lifecycle state

Where Cachee fits

H33 produces verifiable computation. Cachee makes it reusable at scale.

The pipeline
H33: encrypt → compute → prove
Cachee: store → retrieve → serve instantly

Proof once. Use everywhere.

The category

Post-quantum caching is not about storing data faster. It is about eliminating repeated computation in systems where computation is the bottleneck.

Once a result is proven, it should never need to be recomputed again.

Cachee makes that possible.

brew tap h33ai-postquantum/tap && brew install cachee
cachee init && cachee start

Run expensive computation once. Serve it forever.

Install Cachee Read the Whitepaper

Explore the Cachee Knowledge Base

Every page in the verifiable computation infrastructure. Proven computation, not cached data.

ZK Proof Caching →

Cache STARK and SNARK verification. 25us to 85ns. 294x speedup.

FHE Output Caching →

Run encrypted computation once. Cache the decrypted result at 31ns.

Computation Fingerprinting →

Identity for results. Provenance-based cache keys, not output hashes.

Cache Attestation →

Every cache entry signed by three PQ families. Cache poisoning eliminated.

PQ Key Exchange Caching →

ML-KEM at 31ns. Session tickets for the post-quantum TLS transition.

Proof Reuse →

Verify once, serve forever. Architecture for verified results across nodes.

Cache Bottleneck →

Why your cache is slower than your compute. The problem Cachee solves.

Redis vs In-Process L1 →

31ns vs 1ms. The network hop you do not need.

PQ Key Size Reference →

Every post-quantum key, ciphertext, and signature size in one table.

Further Reading