Add cache check

Looks useful, am pulling it to test first