Tag Archive for: JavaScript

Thanks to its high-level of adaptability, JavaScript (JS) has been in use in some shape or form for more than 20 years and remains one of the most popular programming languages used to build websites.

However, Google’s Martin Splitt, a webmaster trends analyst, recently suggested that webmasters should begin moving away from the coding language to rank most quickly on search engines.

In an SEO Mythbusting video exploring the topic of web performance and search engine optimization, Splitt and Ada Rose Cannon of Samsung found themselves talking about JavaScript.

Specifically, they discussed how using too much JS can drag down a site’s performance and potentially drag them down in Google’s search index.

How JavaScript Holds Content Back

One of the biggest issues that arise with overusing JS is when sites publish content on a daily basis.

Google uses a two-pass indexing process to help verify content before it is added to the search index. In the case of a JavaScript-heavy page, Google first renders the non-JS elements like HTML and CSS. Then, the page gets put into a queue for more advanced crawling to render the rest of the content as processing resources are available.

This means Java-heavy pages may not be completely crawled and indexed for up to a week after being published.

For time-sensitive information, this can be the difference between being on the cutting-edge and getting left behind.

What You Can Do Instead

Splitt offers a few different techniques developers can use to ensure their site is being efficiently crawled and indexed as new content is published.

One way to get around the issue would be to use dynamic rendering, which provides Google with a static rendered version of your page – saving them the time and effort of rendering and crawling the page themselves.

The best course of action, though, would be to simply rely primarily on HTML and CSS for time-sensitive content.

Splitt takes time to explain that JavaScript is not inherently bad for your SEO or search rankings. Once they are indexed, JS-heavy sites “rank just fine.” The issue is ensuring content is crawled and indexed as quickly and efficiently as possible, so you can always be on the cutting edge.

The discussion gets pretty technical, but you can view the entire discussion in the full video below:

Jquery-mobile-logo

jQuery Mobile just released their newest version as a stable release, working to completely incorporate responsive web design into its library. According to Web Designer Depot, jQuery Mobile 1.3 comes with several new widgets optimized for mobile devices including smooth panel overlays, dual-handle range sliders, and two different options for responsive tablets.

The new panel widget opens up many options such as allowing hidden information to be displayed is a smooth, attractive way. There are three transitioning modes, all controlled by a swipe of the finger, or press of a keyboard.

One of the most notable new features of the list view is autocomplete. When searching for your criteria, you simply have to start typing and it will do the rest for you, just like Google’s search bar does.
jQuery has been a favorite for simplifying complex JavaScript tasks, but it has had difficulty bringing that to mobile devices, especially with their separate implementations for different platforms which confused many designers.

Many have wondered whether they should be using responsive web design or jQuery Mobile, but the new version makes it clear that their answer is simply to use both at the same time.