Simplify cache key and etag (func)