Skip to content

Update cache data

Piyush Chaudhari edited this page Sep 13, 2018 · 3 revisions

To update cache data we use REST API CachingController.java as below
.

URL: http://localhost:8080/v1/caching/clear/{name} where {name} is replace by caching name e.g countryListCache configured on CountryServiceImpl.java with @Cacheable("countryListCache")
Method: GET

Response: {"cachingUpdate":true}

Clone this wiki locally