Skip to content

shiftregister-vg/caffeine-cache-spring-boot-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caffeine Cache + Spring Boot Demo

This is a sample application that implements a very basic cache through Spring Boot and Caffeine. This repo is a companion to my blog post of the subject.

Usage

  1. Run ./gradlew bootRun
  2. Open a browser window and navigate to localhost:8080
  3. The Now time will update with each refresh while the Cached time will stay the same for 30 seconds.
    • Every 30 seconds the cache will be evicted and the time will be updated

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published