A simple cache component based on annotation.