Small poc to play with java cache and memory profiling.
Create a sample rest api with a resource sample that can be retrieved by id.
The resources are 4Mo big.
There is a caffeine cache attached to the endpoint to optimize data access performance.
It takes about 15s to access the resource from the golden data source (non cached).
I have noticed that when increasing size of the heavy object, that google chrome takes much longer than a postman:
Postman Versio 415ms vs 10 or 25 seconds in Google Chrome (both up to date)