example.com/mycar.jpg?param=query¶m2=querywill fetch the resource from your server but cache it under 2 different keys.
example.com/mycar.jpg?title=test&portrait=0&color=0000and then another user runs the query
example.com/mycar.jpg?color=0000&portrait=0&title=test, then we will fetch the resource again even though we actually have the cached resource.
Cache-ControlHTTP header, and more precisely the
max-agedirective (in seconds). This directive indicates that the HTTP response should be considered expired when it is older than the specified number of seconds.