veliovgroup / jazeee-meteor-spiderable

Fork of Meteor Spiderable with longer timeout, caching, better server handling
https://atmospherejs.com/jazeee/spiderable-longer-timeout
33 stars 9 forks source link

use chrome or firefox headless instead of phantomjs #51

Open macrozone opened 7 years ago

macrozone commented 7 years ago

phantomjs is no longer supported and gives everyone nightmares.

It's possible to use firefox or chrome in headlessmode instead.

I did a proof-of-concept: (https://github.com/meteor/meteor/issues/8661)

what do you guys think?

Edit: I know switched to another solution: I hosted an instance of https://github.com/bosondata/chrome-prerender/

and used this nginx config to prerender pages: https://gist.github.com/thoop/8165802

dr-dimitru commented 6 years ago

Hello @macrozone ,

We're still looking for a way to provide stable solution to use Chrome or Chromium in headless mode "out-of-the-box".

Meanwhile you might be interested to try our SaaS solution.