DEV Community

Cover image for NodeJS - Foal framework - version 2.5 is here
Loïc Poullain
Loïc Poullain

Posted on

4 1

NodeJS - Foal framework - version 2.5 is here

Version 2.5 of Foal has been released! Here are the improvements that it brings.

npm run develop watches config files

In previous versions of Foal, the develop command did not restart the server when a configuration file was changed. This was annoying and is the reason why, starting with v2.5, new projects generated by the CLI will watch configuration files.

createOpenApiDocument accepts an optional serviceManager

If you use createOpenApiDocument, in a shell script for example, the function accepts an optional serviceManager parameter from this version.

This can be useful if your OpenAPI decorators access controller properties whose values are manually injected.

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay