I just remembered that in one of my SpringBoot projects I forgot to enable gzip compression. Don't be me, always use compression, even if it's not enabled by default, it's really useful to reduce bandwidth and to speed up page loads. Here is the configuration I use (in yml format).
Let's say we have a Maven Spring Boot WAR project that we want to debug as fat JAR. This works out of the box in Eclipse if we add the following dependencies: Sadly in IntelliJ this won't work. When you try to run your application from the IDE it will crash because of missing dependencies. … Continue reading Spring Boot WAR in IntelliJ
I just did some awesome optimizations for AgroGo. One of them was related to a strange behavior in Spring Security. By default, anything that's protected by Spring Security is sent to the browser with the "Cache-Control: no-cache, no-store, max-age=0" header parameter causing the browser to reload all files on every request. This is bad for various reasons … Continue reading Spring Security caching issue