NitroPack's optimizations improve Google PageSpeed Insights' "Reduce initial server response time" warning.
However, if you want to further decrease the server response time, try the following optimizations:
How to further decrease the Initial server response time
1. HTML Edge caching
Despite having NitroPack as a site speed optimization solution, we suggest you configure Cloudflare APO.
While static resources like images/JS/CSS are usually cached and loaded faster by CDNs like Cloudflare, the HTML still needs to be fetched from the origin server, resulting in slower TTFB.Cloudflare APO caches HTML on edge servers, reducing the Time To First Byte (TTFB) and initial server response time by bringing dynamic content closer to your website’s visitors.
To integrate NitroPack with Cloudflare, make sure to follow the steps in the below articles:
NitroPack and Cloudflare's Automation Platform Optimization (APO)
2. Reducing the Unused CSS
NitroPack is also offering a Reduce Unused CSS feature which should further assist with Reducing server response time.We have a great article on testing and activating Reduce Unused CSS safely:
Disclaimer: This feature can sometimes cause an issue with a website by removing more CSS values from your website than it should. That is why we are suggesting following the steps covered in the abovementioned article.
For more tips and detailed information about decreasing the TTFB and Server Response, you can check out the following Blog post: https://nitropack.io/blog/post/time-to-first-byte-ttfb.