c-hive / dotdev

Next.js SPA professional website template for teams and individuals: https://c-hive.github.io/dotdev/
MIT License
0 stars 1 forks source link

Improve custom `App` component. #131

Closed gomorizsolt closed 4 years ago

gomorizsolt commented 4 years ago

Since the site doesn't have blocking data requirements for every single page there's no need for the getInitialProps() invocation. This also enables the Automatic Static Optimization feature.

One of the main benefits of this feature is that optimized pages require no server-side computation, and can be instantly streamed to the end-user from multiple CDN locations. The result is an ultra fast loading experience for your users.

Let's also read the page's title from the proper config.