Please refer below URLs for caching requests with query param :-
This can only return a single cached page-
This appears to require significant customisation which also doesn't
work OOTB.To add to it, you can't really use query parameters if you
want to cache distinct pages. "Ign...