Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : SEO and JavaScriptMVC

$
0
0
Hi. Theese are my few lines about the topic :)

I use a self written snapshot script for Crawler handling using phantomjs, because I migrated to JSMVC once and the snapshot script already existed.
My content changes very often, so a "pre-crawl" option was of no value for me.

But what exactly do you mean by "make finding things (especially jQuery.Model, jQuery.Controller, jQuery.View, and jQuery.Class) easier"?
A crawler should "see" the generated content, not the objects creating it.

The problem I once ran into was that the snapshot script had no clue, when the content was ready to be captured.
I've indoduced a variable for this which is set by a controller base class. My script then querys the state of this variable and captures the snapshot if it validates.
I've thought about other solutions, like waiting for the last ressource load to finish, but the variable-solution was the most reliable.


Viewing all articles
Browse latest Browse all 3491

Trending Articles