Flask cache interface