Selaa lähdekoodia

Properties toegevoegd voor caching en compressie

Harry de Boer 6 vuotta sitten
vanhempi
commit
2f91c5f46e
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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