🆚 Web Storage vs. XMLHttpRequest

Compare technologies based on real-world usage data *

Type

Browser API
Browser API

About

Web storage is a browser API and client-side key-value database that allows websites to store persistent data on users' devices.

XMLHttpRequest (XHR) is a JavaScript API to create HTTP requests.

Headquarters

Cambridge, Massachusetts, United States
Cambridge, Massachusetts, United States

Website

Categories

Browser APIs › Rank #1
Browser APIs › Rank #2

Popularity

Determined by the number of sites using each technology.

The Web Storage browser API is 4 times more popular than XMLHttpRequest.
Total websites

Market share

Browser APIs

Popularity by country

Determined by the number of sites detected from each country.

Web Storage is more popular in the United States, Germany, and the United Kingdom, while XMLHttpRequest is more popular in the British Virgin Islands, Seychelles, and Nauru.
United States
Germany
United Kingdom
France
Japan
Australia
Spain
Italy
India
Netherlands

Awards

Popularity by domain category

Determined by the number of sites in each category.

Web Storage is more popular among sites focused on business, online shopping, and blogs and wiki, while XMLHttpRequest is more commonly used on fashion and beauty, travel, and games sites.
Business
Online Shopping
Blogs/Wiki
Marketing/Merchandising
Education/Reference
Internet Services
Entertainment
General News
Health
Sports

Top sites

Top-ranked sites that use these technologies.

Name
Rank
View more ➝
Name
Rank
p**nhub.com
#26
#39
View more ➝

See also

* According to recent studies, many of online reviews are fake.
When making your decision, it is better to rely on data that cannot be falsified.
Our service evaluates the popularity of technologies by the number of websites using them.

Statistics were last calculated on .
For details, see our methodology and disclaimer.