Showing entries 1 to 1
Displaying posts with tag: phantomjs (reset)
Using PhantomJS to serve HTML content of Single-page App

One big drawback of Single-page application is the ability to fully support SEO as traditional sites. The reason is because in a single-page application we often use a technique called lazy-rendering, in which the real content is not rendered from the server but only the basic layout is returned. Many search engine crawls your websites similar to how you use "curl" command to fetch the content of the website, which prevents the search engine from understanding what is really inside the web page and it can not index the page correctly. In this post, I am going to show you how we can use PhantomJS to tackle this issue.

The main idea of this post is taken from this blog page:, you might want to read it for more information. I will explain it using my own words and this can apply to any single-page …

[Read more]
Showing entries 1 to 1