Setup a default cache and adding secret logic