Ive SPA (Single Page Application) project that works 100% using AngularJS, with all of its content dynamically generated through JavaScript on the client side! As you know this means no crawlability, and I dont need to use headless browsers to generate HTML snapshots, I could generate it myself server side depending on the user-agent without code duplication.I'm not trying to deceive search engines or deliver different data, but I'm trying to deliver a completely readable pages for SE with stripped down and simplified HTML layout.My question is: if Ive generated & delivered a different layout or HTML snapshot to search engines (but keeping the actual real data/content the same), is that considered cloaking or violates SEO in anyway?I've read a lot of information in Google's Webmaster Help Center & other sources all over the internet without an actual accurate answer.
Can my single page application deliver an HTML snapshot to search engines?
seo;html;cloaking;crawlable ajax;single page application
You need to implement crawlable AJAX.Include the meta tag <meta name=fragment content=!>Make the HTML snapshot available at www.example.com/?_escaped_fragment_=DO NOT base your snapshot decision on the user agent.   Googlebot wants to be able to see and render your page the way that users see and render it (for screen shots for example).  Serving different content based on user agent is considered cloaking.The meta tag and the parameter is the Google approved way of providing an HTML snapshot of your single page application.