We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c47d58 commit dd0530aCopy full SHA for dd0530a
1 file changed
src/main/java/org/example/CacheFilter.java
@@ -7,10 +7,9 @@ public class CacheFilter {
7
8
public byte[] getOrFetch(String uri, FileProvider provider) throws IOException {
9
if (cache.contains(uri)) {
10
- System.out.println("✓ Cache hit for: " + uri);
+ System.out.println("Cache hit for: " + uri);
11
return cache.get(uri);
12
}
13
- System.out.println("✗ Cache miss for: " + uri);
14
byte[] fileBytes = provider.fetch(uri);
15
cache.put(uri, fileBytes);
16
return fileBytes;
0 commit comments