-
Notifications
You must be signed in to change notification settings - Fork 108
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
Rendora + Angular 6 ? #12
Comments
My Config:
|
Hi @Murena7 and thanks for the nice words, as for the issue I see nothing suspicious in your config file, the latency should be a little higher than 3 seconds since you set filters:
paths:
defaultPolicy: blacklist
exceptions:
exact:
- /
userAgent:
defaultPolicy: blacklist
exceptions:
keywords:
- bingbot
- yandex
- google and try loading the homepage with for example curl Frankly I might deal with this this as a bug, I intentionally didn't check for the |
I reproduce your solution, so if i try curl http://127.0.0.1:3001 - return html page without js render, if i try curl -A "BingBot" http://127.0.0.1:3001 - return part js render page not fully render. So returned only part rendered page without any js request to side data api. My project for testing generate 70% Dom elements on the page after js make request to side API (to other domains). So rendora prerendered/show js page without any js request for the data - i think the problem is with this. May be i not fully understand how rendora work. Can you please also describe - what different between target and backend url ? if i understand correct - rendora read user-agent and if is user - return all what returned target url (without js render) - if this bot - render target url and return this ? I use rendertr*n and he render all correct. May be i not correct understand rendora, please describe. thanks |
Hi, guys ) I think i know why - rendora not work same in the case of my project as rendertrn. In faq rendertrn i found some info: Auto detecting loading function May be you can implements some same - in rendora ? |
@Murena7 I apologize for responding so late but my last 2 weeks were tough so I couldn't respond.
yeah, there is already an issue #5 for that and I guess this will be my top priority feature for now. But I guess this still wouldn't solve your problem since you applied enough latency via |
Hi guys, first i want say - big thanks for you job!
I try to use rendora with angular 6 - SPA, and all my attempts to make it works well, do not succeed.
On backend i use Node.js - and they return angular dist.
For testing I successfully setup and run rendora+headless chrome. I set target:url and backend:url - my local site host - for example: url: "http://localhost:80". Next i try open http://localhost:3001 - and my site open good and all works well, but if i set some crawlers bot user agent and reload page - i wait about 20-30 sec and page not load correctly (missed css style and some other) and not load successfully. I think may be i do some wrong, can somebody please write some instruction how setup rendora with angular 6 + node.js or tell what i do wrong ? I will be grateful. (p.s. now i use rendertr*n - they work well but - solution have low performance and no cache.)
The text was updated successfully, but these errors were encountered: