updating Cache interface to account for cookies etc