1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-07-01 14:12:55 +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