Thursday, February 13, 2014

Crawling your app in SPA Application

Crawling your app

To allow indexing of your AJAX application, you have to add special meta tag in the head section of your document:
1.  <meta name="fragment" content="!" />

This will cause crawler bot to request links with _escaped_fragment_ param so that your server can recognize the crawler and serve a HTML snapshots. For more information about this technique, see Making AJAX Applications Crawlable.