Hey guys! I wanted to give you some updates on the Single Page Application (SPA) feature on Liferay DXP. I've talked to some people and it seems they were under the impression that DXP would render pages faster when SPA was disabled than otherwise. That got me intrigued, because the main purpose of SPA is to make pages render faster and to provide better experiences for our users. So I went on and ran some tests to see what the numbers would say.
First thing I did, was to make sure enabling SPA does not cause the server to respond slower. I didn't think it would since it adds almost no server-side processing overhead. I ran a very simple load test to prove it: I used ApacheBench (version 2.3) on one machine, hitting tomcat on another machine with 100 concurrent users 2000 times. These were my results:
With SPA Disabled: 