Fix #576 -- The cache hash function now hashes the parameters for the requested method, and doesn't assume GET requests.