[TASK] Don't cache requests with query arguments

Stabilizes the request caching mechanism and skips
caching for URIs with query arguments (to avoid
cache flooding and invalid caches)