Prerender just start page #1553
-
Hello, is it possible to just prerender one page, for example the home page for logged out users, as sort of a landingpage, and leave the other dynamic pages as is? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Routes with dynamic params will not be pre-rendered by Scully by default. These are routes in your app router module that have a If you want to specifically ignore certain routes, you can use the Useful resources to read about this topic: |
Beta Was this translation helpful? Give feedback.
-
Yes, you can. |
Beta Was this translation helpful? Give feedback.
Yes, you can.
We have an
ignored
plugin, that allows you to 'skip' routes from the Scully generation.Also, there is a way to set the default to
ignored
so it skips over anything that is not specified.There is one exception. The top
/
route is always rendered.