Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7699997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:36:20+00:00 2026-05-31T22:36:20+00:00

I have read a great deal of discussions about javascript templating and Search Engine

  • 0

I have read a great deal of discussions about javascript templating and Search Engine Optimization. Still, I haven’t found a satisfying answer to the question (either poorly-documented or outdated).

Currently I am looking into handlebars.js as a client-side template solution, because I love the possibility to create helper functions. But what about indexing for search engines? Does the bot index the generated content (as intended) or only the source with the ugly javascript pseudo-variables? I know that there are lots of threads going on about this matter but I feel that nobody does exactly know the answer.

If engines like Google would not index these templates properly, why would one bother using this for public websites?

Another question within this context: Is it possible to render Handlebar.js templates on server side and then present them onto the client side? Obviously to avoid all this SEO discussion.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:36:21+00:00Added an answer on May 31, 2026 at 10:36 pm

    For dom crunching client side, most web bots (i.e. Google and others) don’t interpret js on the fly and parse newly rendered content for indexing. Instead Google (and now Bing) support the ‘Google Ajax Crawling Scheme’ (https://developers.google.com/webmasters/ajax-crawling/docs/getting-started) – which basically states that IF you want js rendered dom content to be indexed (i.e. rendering ajax call results), you must be able to:

    1. Trigger the async js rendering via the url using hashbangs #! (i.e. http://www.mysite.com/#!my-state), and
    2. Be able to serve a prerendered dom snapshot of your site AFTER js modification on request.

    If using a client side MVC framework like Backbone.js, or Spine – you will need to provide this service if you want your web app indexed.

    Generally this means you intercept a request made by the web bot (explained on the link above), and scrape your side server side using a headless browser (i.e. QT + capybara-webkit, HtmlUnit, etc.), then deliver the generated dom back to the requesting bot.

    I’ve started a gem to do this in ruby (now taking pull requests) at https://github.com/benkitzelman/google-ajax-crawler

    It does this as rack middleware using capybara-webkit (and soon phantomjs)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read many topics about cut/copy to clipboard, but haven't found the answer
Have read some great tutorials online about the new storyboarding feature of xcode 4.2.
I have read Java Concurrency in Practice and this is a great reference, but
I have read about partial methods in the latest C# language specification , so
I have read this post about how to test private methods. I usually do
I have read through related posts but have not yet found an answer so
I've read a great deal of go from svn to git and other git-svn
Im trying to get my head around MySQL. I have learnt a great deal
I have a python client which pushes a great deal of data through the
i have read many articles that can be found on soap , i am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.