Introduce caffeine cache
[cps.git] / cps-rest / src / main / resources / application.yml
index e8af0bc..80c6af6 100644 (file)
@@ -22,6 +22,11 @@ spring:
         driverClassName: org.postgresql.Driver\r
         initialization-mode: always\r
 \r
+    cache:\r
+        type: caffeine\r
+        cache-names: yangSchema\r
+        caffeine:\r
+            spec: maximumSize=10000,expireAfterAccess=10m\r
 # Actuator\r
 management:\r
     endpoints:\r