-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from Google App Engine for SEO serverside/pre rendering #79
Comments
Why not just use the rendertron's demo endpoint: https://render-tron.appspot.com/ as a temporary fix instead of using our own endpoint
source |
|
Okay so to summarize:
|
Trying to load the frontend resources through rendertron is causing a CORS error. I suspect that it might be because of the service workers?
To make things even more confusing, some resources are passing by CORS and others are not
This tutorial suggests solving it by using something called foreign fetch: but that is now deprecated. THe confusing part is that the main atila-7.appspot rendering engine seems to be working fine. It also fails on other resources but doesn't seem to request manifest.json which is why it doesn't fail |
I noticed the page still renders as long as manifest.json gets loaded after all the other files |
Steps to reproduce the bug:
|
The now deprecated rendertron server can be found in this repo: https://github.com/ademidun/atila-angular-server-old |
We currently prerender Atila because it is good for SEO and social media link previews
We currently use headless Chrome, rendertron on App Engine but it is way too expesive(~$90/month).
Fine when we had Google Cloud for Startup Credits and we didn't care about costs but now that it has expired we need to find an alternative.
See this issue: #8
and this commit for more info: 134c000
The text was updated successfully, but these errors were encountered: