No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
README.md
build.gradle
gradlew
gradlew.bat

README.md

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