smart and fast cache