Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qkyrie/spring-caching-example
Example of Caching
https://github.com/qkyrie/spring-caching-example
Last synced: about 1 month ago
JSON representation
Example of Caching
- Host: GitHub
- URL: https://github.com/qkyrie/spring-caching-example
- Owner: Qkyrie
- License: agpl-3.0
- Created: 2014-04-11T08:50:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-26T17:20:36.000Z (almost 8 years ago)
- Last Synced: 2024-05-02T01:43:07.182Z (7 months ago)
- Language: Java
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
spring-caching-example
======================This is an example of how the Cache Abstraction (Since [Spring 3.1](http://docs.spring.io/spring/docs/3.1.0.M1/spring-framework-reference/html/cache.html "Spring 3.1") can be used.
At this point, only a basic setup with [Spring Boot](http://projects.spring.io/spring-boot/ "Spring Boot") is shown, but in the future, more examples, including examples with more complex caching (including SPel) will be implemented as an example.
###Downloading the example
git clone https://github.com/Qkyrie/spring-caching-example.git###Running the example
gradle bootRunNext up, go to **localhost:8080/messages/1** to see a message. The first time, it will fetch it from a repository. The second time this is called, it will be fetched from a dedicated cache.