1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-04-19 17:26:51 +00:00

Merge pull request #41 from CCC-MF/issue_39

feat: add cache-control headers for static resources
This commit is contained in:
Paul-Christian Volkmer 2024-02-19 09:08:19 +01:00 committed by GitHub
commit f5c80f6d81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,5 +6,16 @@ spring:
flyway:
locations: "classpath:db/migration/{vendor}"
web:
resources:
cache:
cachecontrol:
max-age: 1d
chain:
strategy:
content:
enabled: true
paths: /**/*.js,/**/*.css,/**/*.svg,/**/*.jpeg
server:
forward-headers-strategy: framework