Using the request method to determine the caching strategy