Fix add path query param to cache metadata
We also need the path query param as part of the cache metadata, so it doesn't return the same result for different requests
We also need the path query param as part of the cache metadata, so it doesn't return the same result for different requests