Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

codebeat badge

Simple Cache2k application with Spring

Sample Spring application using Cache2k caching.

This example simulates a slow repository. Caching is used at the service level. That way, we can make sure that only the first request will be slow. All the following requests will be executed quickly until the cache expires.

API

You can check the caching work by running the application and going to: http://localhost:8080/autos/list?category=TRUCK

Tests

See service tests: AutoServiceImplIT.class

About

Spring Cache2k simple sandbox app

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages