Check for presence of cached and response ETags. Fixes #1599.