make sure the webapp and openapi documentation are always up to date by preventing caching

This commit is contained in:
Athou
2024-08-26 00:17:42 +02:00
parent 764c1a6430
commit 63c7679067
2 changed files with 31 additions and 0 deletions

View File

@@ -2,6 +2,14 @@
quarkus.http.port=8082
quarkus.http.test-port=8085
# static files
## make sure the webapp is always up to date
quarkus.http.filter.index-html.header."Cache-Control"=no-cache, no-store, must-revalidate
quarkus.http.filter.index-html.matches=/
## make sure the openapi documentation is always up to date
quarkus.http.filter.openapi.header."Cache-Control"=no-cache, no-store, must-revalidate
quarkus.http.filter.openapi.matches=/openapi[.](json|yaml)
# security
quarkus.http.auth.basic=true
quarkus.http.auth.form.enabled=true