This document discusses static and dynamic lookups in Splunk. Static lookups retrieve fields from a CSV file, while dynamic lookups retrieve fields from external sources like websites, databases, or caches. It provides examples of writing scripts for dynamic lookups from databases and caches to enrich event data. Dynamic lookups first check a persistent cache, and if not present, query the external source and cache the results. This allows combining external data sources with caching for improved performance.