• springboot+thymeleaf+nginx实现页面静态化

    适用场景在高并发的情况下,为了缓解服务器动态解析的压力,利用nginx处理静态文件的优点,可将系统中修改次数较少的页面进行静态化处理。自定义工具类import org.thymeleaf.TemplateEngine; import org.thymeleaf.context.Context; import java.io.File; import java.io.IOExce...

    Nginx 2020年11月23日 3216 0