<a href="https://www.olark.com/site/4735-692-10-7155/contact" title="Contact us" target="_blank">Questions? Feedback? powered by <a href="http://www.olark.com?welcome" title="Olark live chat software">Olark live chat software

Back to Blog

Search engine optimization

August 08, 2012 By Matt DeBergalis
Vote on Hacker News

We are happy to announce Meteor 0.3.9 and the new spiderable smart package, which allows Google and other search engines to index Meteor applications.

The spiderable package uses the AJAX Crawling Specification published by Google to serve HTML to web spiders. When a spider requests an HTML snapshot of a page, the Meteor server runs the client half of the application and returns the full HTML generated by the client code. This version of spiderable uses phantomjs, a headless browser. A future release will eliminate the dependency on phantomjs and run the client code directly.

You can add spiderable to any Meteor app. For the past month, we have been using an early version on our own website. That — plus all your blogging — is why www.meteor.com is now the top search result for "meteor".

To get started, type meteor add spiderable. If you deploy to our servers with meteor deploy you're all set. If you're running your app on your own infrastructure, you'll need to provide a copy of phantomjs. See the spiderable docs for more.

Vote on Hacker News

ALSO ON METEOR BLOG

Meteor + NPM, Meteor + React and more
New in Galaxy: automatic pre-rendering of Meteor apps for SEO
Reactive GraphQL
Introducing the Meteor Guide
Meteor in 2015: A Look Back
Lots to Celebrate in 2015
In a Galaxy not far away: force kill a container