Spring Boot 4 Web Application with AOT Cache
Recently I tried to optimize the startup of a Spring Boot 4 web application with JVM AOT Cache. The application itself is a normal Spring Boot web application. It uses PostgreSQL, JPA, Firebase Auth, and is built into a container image through bootBuildImage in GitHub Actions. I previously considered more aggressive startup optimizations, but adopting GraalVM Native Image requires a lot changes for my project and the benifit doesn’t worth it (for now). ...