Skip to content

Commit 5fff709

Browse files
authored
enabled thymeleaf cache for prod deployment (#156)
1 parent 1b9aae0 commit 5fff709

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/main/resources/application-dev.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ reitti.geocoding.photon.base-url=http://localhost:2322
88
reitti.events.concurrency=4-12
99

1010
reitti.import.batch-size=1000
11+
12+
spring.thymeleaf.cache=false

src/main/resources/application.properties

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spring.messages.basename=messages
1111
spring.messages.encoding=UTF-8
1212
spring.messages.cache-duration=3600
1313

14-
# PostgreSQL configuration (commented out for now, uncomment for production)
14+
# PostgreSQL configuration
1515
spring.datasource.url=jdbc:postgresql://localhost:5432/reittidb
1616
spring.datasource.username=reitti
1717
spring.datasource.password=reitti
@@ -22,9 +22,6 @@ spring.data.redis.port=6379
2222
spring.data.redis.username=
2323
spring.data.redis.password=
2424

25-
spring.thymeleaf.cache=false
26-
27-
2825
# RabbitMQ Configuration
2926
spring.rabbitmq.host=localhost
3027
spring.rabbitmq.port=5672

0 commit comments

Comments
 (0)