Only enable cache in production