Browse Source

Properties toegevoegd voor caching en compressie

Harry de Boer 6 năm trước cách đây
mục cha
commit
2f91c5f46e
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      src/main/resources/application.properties

+ 6 - 0
src/main/resources/application.properties

@@ -0,0 +1,6 @@
+server.http2.enabled=true
+
+server.compression.enabled=true
+
+spring.resources.cache.cachecontrol.no-cache=true
+spring.resources.cache.cachecontrol.must-revalidate=true