HTTP/2 is a major revision of the HTTP/1.1 protocol. It improves performance and efficiency. The LuciadFusion server is fully compatible with HTTP/2.
To use HTTP/2 with the LuciadFusion server, these conditions must be met:
-
HTTP/2 must be enabled in Spring Boot. This is the case by default: you can find the corresponding
server.http2.enabled=true
property in thefusion.common.yml
configuration file. -
HTTPS must be enabled. The HTTP/2 standard doesn’t require encryption, but all major browsers, such as Chrome, Firefox, Safari and Edge, only support HTTP/2 in combination with HTTPS. As a result, encryption becomes mandatory. You can enable HTTPS in LuciadFusion through Spring Security, as explained in How to enable HTTPS in LuciadFusion.
-
LuciadFusion must be deployed in a servlet container or application server that includes support for HTTP/2. The Jetty servlet container included with LuciadFusion and used by the stand-alone LuciadFusion server comes with out-of-the-box HTTP/2 support.