Whenever you're ready, walk me through how you'd approach this.
Design an in-memory image cache library. The cache should support fast lookup by key, bounded memory usage, and automatic eviction when memory pressure increases. Explain how you would store entries, choose what to evict, and react to memory warnings or low-memory conditions.