cache-expert

📁 dagger/dagger 📅 7 days ago
1
总安装量
1
周安装量
#46756
全站排名
安装命令
npx skills add https://github.com/dagger/dagger --skill cache-expert

Agent 安装分布

windsurf 1
amp 1
opencode 1
cursor 1
codex 1

Skill 文档

Cache Expert

High-Level Architecture

The Dagger Engine serves a GraphQL-based API for building and executing DAG workflows.

Each operation takes immutable objects/scalar values as inputs and produces an immutable object/scalar value as output. “Mutability” is simulated as a DAG of these operations on immutable values, similar to functional programming.

This enables caching: since inputs are immutable and operations are deterministic, cache keys can be derived from the operation and its inputs.

DAGs of operations can be serialized as IDs, which have associated digests that serve as the operations’ cache keys.

Quick Reference

Jump to the right doc for your task:

Task Read
Understand how IDs encode operations ids.md
Understand the GraphQL server implementation dagql-api-server.md
Understand how results are cached cache-storage.md
Debug a cache miss debugging.md

Core References

To build deep experitise, read these in order:

  1. ids.md – How IDs encode operations and derive digests
  2. dagql-api-server.md – The dagql GraphQL server implementation
  3. cache-storage.md – How dagql results are cached

Optional References

Load on-demand for specific tasks:

  • debugging.md – Techniques for diagnosing cache misses and unexpected invalidations