Centralized cache

Signed-off-by: Suki <suki@missallsunday.com>