In the last chapter, we increased the security of our application by implementing a more advanced refresh token authentication flow. This enabled us to minimize the amount of time an access token is valid for, and as such vulnerable for, without compromising on the length of time a user can remain logged in for.
The next, more advanced, topic on our feature list is Server-Side Rendering (SSR). This is by far one of the most complex features to properly set up and configure in a Vue.js application, particularly when you have password-protected sections as we do. In summary, in this chapter, we're going to look at the following topics:
- Why use SSR in the first place?
- The easy way: Nuxt.js
- Additional npm packages required for SSR
- More advanced webpack configuration
- How to boot a Vue.js application on both the client and server
- How to pre-fetch component...