SpringBoot EhCache Demo
This demo project uses the following technologies
Clone this project and run the Boot class.
Access it via,
http://localhost:8080/products/2
Notice the time taken by the method
Access again http://localhost:8080/products/2
Now notice the time taken by the method.
To view the contents of the cache,
use - http://localhost:8080/cache/viewProductCache