🆚 Web Storage vs. XMLHttpRequest
- 📈 Web Storage is four times more popular than XMLHttpRequest.
- 🌎 Web Storage is more popular in the United States, Germany, and the United Kingdom.
- 🌍 XMLHttpRequest is more popular in the British Virgin Islands, Seychelles, and Nauru.
Statistics based on 3.3M+ analyzed websites. About this 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
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
- 🥇 Most popular in the United States in the Browser APIs category.
- 🥇 Most popular in the United Kingdom in the Browser APIs category.
- 🥇 Most popular in Germany in the Browser APIs category.
- 🥇 Most popular in France in the Browser APIs category.
- 🥇 Most popular in Japan in the Browser APIs category.
- 🥇 Most popular in the British Virgin Islands in the Browser APIs category.
- 🥇 Most popular in Seychelles in the Browser APIs category.
- 🥈 Second most popular in the United States in the Browser APIs category.
- 🥈 Second most popular in Germany in the Browser APIs category.
- 🥈 Second most popular in the United Kingdom in the Browser APIs category.
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.
Compare alternatives
Technologies with similar characteristics.
See also
🗃️ About This Data
- We evaluate the popularity of technologies based on the number of websites where we detect their usage.
- Technologies without a detectable web footprint, and those we do not track, are not reflected in the calculated market share.
- This report is based on the analysis of 3,375,483 websites.
- Statistics were last calculated on .
- For more details, see our methodology and disclaimer.