benkitzelman / google-ajax-crawler

Rack Middleware adhering to the Google Ajax Crawling Scheme, using a headless browser to render JS heavy pages and serve a dom snapshot of the rendered state to a requesting search engine.
MIT License
58 stars 13 forks source link

Fix instructions for Rails #6

Closed misza222 closed 11 years ago

misza222 commented 11 years ago

In case of angular application being installed on a static page (and so served by ActionDispatch::Static middleware), it is important that GoogleAjaxCrawler is inserted into middleware stack before ActionDispatch::Static to be able to react and serve snapshot.

benkitzelman commented 11 years ago

thanks!