prepare for magic cache functions
another update to the cache magic api