opts: Add getter for cached memory