Skip to content

Glossary: Software Design Patterns in Go

Cache

Also written: caching

A saved answer that is reused instead of asking again. For example, a `CachedCarrier` remembers a quote per number of lines, so the real carrier is asked only once.

Where the book teaches it

Related terms

Proxy