Attempted first implementation of SPI caching.