cache request properly