item service: set cache-control: public too
This commit is contained in:
@@ -251,7 +251,7 @@ public class ItemService
|
|||||||
|
|
||||||
return ResponseEntity.ok()
|
return ResponseEntity.ok()
|
||||||
.header(RUNELITE_CACHE, hit ? "HIT" : "MISS")
|
.header(RUNELITE_CACHE, hit ? "HIT" : "MISS")
|
||||||
.cacheControl(CacheControl.maxAge(30, TimeUnit.MINUTES))
|
.cacheControl(CacheControl.maxAge(30, TimeUnit.MINUTES).cachePublic())
|
||||||
.body(itemPrice);
|
.body(itemPrice);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user