Skip to content

Commit

Permalink
Fix cache key
Browse files Browse the repository at this point in the history
Was using the request path, not the query string
  • Loading branch information
JasonFreeberg committed Dec 28, 2020
1 parent 5e877ca commit b7c7608
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Proxy {
* @param request ServletRequest object
* @return The response from SERVER.
*/
@Cacheable(value="remote-entity", key="#request.getRequestURI()")
@Cacheable(value="remote-entity", key="#request.getQueryString()")
public Object proxyRequest(HttpServletRequest request) {

URI uri;
Expand Down

0 comments on commit b7c7608

Please sign in to comment.