diff --git a/docs/modules/onecx-shell-bff/pages/onecx-shell-bff-docs.adoc b/docs/modules/onecx-shell-bff/pages/onecx-shell-bff-docs.adoc index cd46a1d..c20e815 100644 --- a/docs/modules/onecx-shell-bff/pages/onecx-shell-bff-docs.adoc +++ b/docs/modules/onecx-shell-bff/pages/onecx-shell-bff-docs.adoc @@ -21,6 +21,8 @@ org.eclipse.microprofile.rest.client.propagateHeaders=apm-principal-token %prod.quarkus.rest-client.onecx_product_store_svc.url=http://onecx-product-store-svc:8080 %prod.quarkus.rest-client.onecx_permission_svc.url=http://onecx-permission-svc:8080 %prod.quarkus.rest-client.onecx_user_profile_svc.url=http://onecx-user-profile-svc:8080 +quarkus.http.filter.images.header."Cache-Control"=max-age=432000 +quarkus.http.filter.images.matches=/themes/* onecx.component.mock.keys[0]=portalmenu %prod.quarkus.oidc-client.client-id=${quarkus.application.name} quarkus.openapi-generator.codegen.input-base-dir=target/tmp/openapi @@ -78,3 +80,4 @@ app: ---- + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6dd4ea7..594bcb1 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -19,6 +19,10 @@ org.eclipse.microprofile.rest.client.propagateHeaders=apm-principal-token %prod.quarkus.rest-client.onecx_permission_svc.url=http://onecx-permission-svc:8080 %prod.quarkus.rest-client.onecx_user_profile_svc.url=http://onecx-user-profile-svc:8080 +# cache control +quarkus.http.filter.images.header."Cache-Control"=max-age=432000 +quarkus.http.filter.images.matches=/themes/* + #MOCK FOR REMOTE COMPONENTS => should be removed when implemented onecx.component.mock.keys[0]=portalmenu