Optimization cache

Test copy without ipdb import. Used to run clean tests on Travis.