Commit b56516e1 authored by Szabolcs Gyurko's avatar Szabolcs Gyurko
Browse files

Updated cache key for getNode() in ContentService

parent 15e0c445
Pipeline #333 failed with stage
in 9 seconds
......@@ -72,7 +72,7 @@ public class ContentService {
* @throws UnauthorisedException In case the user does not have access.
* @throws NotFoundException In case the node is not found.
*/
@Cacheable(key = "#path + #principal.name")
@Cacheable(key = "#path + #prefetchBinaries + #principal.name")
public Node getNode(final String path, final boolean prefetchBinaries, final Principal principal) throws UnauthorisedException, NotFoundException {
final Session session = jcrSessionFactory.getSession();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment