使用Weblogic在Angular中进行Gzip压缩
如何为Rest服务(Spring Boot+Angular)和应用服务器添加压缩,如gzip,这是Weblogic的一个问题。有很多例子是针对嵌入式服务器而不是像wildfly、weblogic这样的其他服务器出现的。请帮助我应用相同的功能。默认情况下,在spring boot应用程序中禁用gzip,您需要启用并配置以下属性使用Weblogic在Angular中进行Gzip压缩,angular,spring,rest,spring-boot,angular-material,Angular,Spring,Rest,Spring Boot,Angular Material,如何为Rest服务(Spring Boot+Angular)和应用服务器添加压缩,如gzip,这是Weblogic的一个问题。有很多例子是针对嵌入式服务器而不是像wildfly、weblogic这样的其他服务器出现的。请帮助我应用相同的功能。默认情况下,在spring boot应用程序中禁用gzip,您需要启用并配置以下属性 # Enable response compression server.compression.enabled=true # The comma-separated l
# Enable response compression
server.compression.enabled=true
# The comma-separated list of mime types that should be compressed
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
# Compress the response only if the response size is at least 1KB
server.compression.min-response-size=1024
服务器12.2.1在
WebLogic Web容器,您可以在域或Web上启用它
应用程序级别