Add compile time consts for using the caches.