Conditional cache

Updated UI looks like:
![conditional cache](https://cloud.githubusercontent.com/assets/592286/3075540/fa978424-e37e-11e3-9d70-eb5a823021d9.png)