Comments (5)
The provided render-tron sample endpoint is designed to allow you to test out how your page would look. In this case, we are rendering content that would otherwise a) be served via your domain and b) would only be served to bots that explicitly don't render.
In this example, as we're displaying the contents directly from the render-tron endpoint, you're seeing errors regarding cross origin security policies. See CORS page for more info on that.
Are you using an iframe somewhere?
from rendertron.
Does this mean our own rendertron service should be on the same domain (subdomain)? Yes, there's definitely iframes there, at least Intercom and Facebook. I think it's coming from FB.
from rendertron.
Have you seen the Youtube video of me explaining this?
The approach is to proxy some of the requests through to Rendertron, but it will still be served directly from your server. This is essential to ensuring bots and crawlers 'see your page'. So you don't have to use your own Rendertron, or serve it on your own domain, but you'd need to add the middleware to proxy the request via Rendertron from within your server.
Does that make sense?
from rendertron.
Yes that makes sense, I was just not sure. I've been testing the middleware via your appspot deployment and didn't see the results I expected, so I was concerned.
I guess I just need to stop using the appspot version and wait for a day to get the cached results via the middleware :).
from rendertron.
Closing this issue. Feel free to reopen/open a new issue if you encounter more problems.
from rendertron.
Related Issues (20)
- Server not responding after running 1 or 2 days, suspect memory leak HOT 3
- Script monitor-inspect points to non existing file src/main.js HOT 1
- the memory of chrome process keeps increasing HOT 3
- Rendertron on Google Cloud Platform - Cloud Run HOT 1
- Rendertron returning base href of Angular application as "https://null" HOT 3
- Password protection / authentication HOT 1
- restrictedUrlPattern does not exist in the latest published npm package 3.1.0 HOT 1
- [Project Status?] Is @AVGP still working on this project? HOT 8
- Website has css missing and API calls don't get fulfilled when rendering it through Rendertron HOT 2
- Question: What is the reason of cutting pathname in rendertron which is used in <base> as a page default URL HOT 2
- Set custom user agent HOT 1
- cant get rendertron to work. HOT 1
- Case-sensitivity of refreshCache HOT 1
- Build is failing - is this project still maintained? HOT 3
- SSRF on rendertron HOT 1
- Add timeout options for screenshots HOT 3
- ERROR: newTree.optimize is not a function
- problem with metadata HOT 1
- Not working for deep pages HOT 1
- https://render-tron.appspot.com/ is down HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rendertron.