I have an AngularJS site that's pretty slow which is causing the SEO to be rather poor. Not to mention, the metadata doesn't render correctly.
To fix this, my thought was to use IIS rewrite rules to redirect to statically generated content (using Nuxt) if your user-agent is a known crawler.
On a technical level, this is no problem. However, if there is a redirect, won't Google index the static content URL instead of the real url (desired) URL?
Is there any way to get around this? Or am I worried about nothing?