item service: set cache-control: public too

This commit is contained in:
Adam
2018-01-19 19:39:24 -05:00
parent 25854cfff4
commit b7d8b75647

View File

@@ -251,7 +251,7 @@ public class ItemService
return ResponseEntity.ok()
.header(RUNELITE_CACHE, hit ? "HIT" : "MISS")
.cacheControl(CacheControl.maxAge(30, TimeUnit.MINUTES))
.cacheControl(CacheControl.maxAge(30, TimeUnit.MINUTES).cachePublic())
.body(itemPrice);
}