1
0
mirror of https://github.com/pcvolkmer/mv64e-etl-processor synced 2025-09-13 09:02:50 +00:00

Merge pull request #41 from CCC-MF/issue_39

feat: add cache-control headers for static resources
This commit is contained in:
2024-02-19 09:08:19 +01:00
committed by GitHub

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