🆚 CSS vs. Speculation Rules

Type

Standard
Performance optimization technology

About

Cascading Style Sheets (CSS) is a stylesheet language used to control the presentation of HTML and XML documents, defining layout, colors, typography, and responsive behavior across different devices.

It uses a cascading and specificity model to resolve style conflicts, supports reusable rules and selectors, and includes layout systems such as Flexbox and Grid, media queries for responsive design, and features for animations, transformations, and advanced text formatting.

Read more…

The Speculation Rules API is a browser API that improves navigation performance by prefetching or prerendering pages that users are likely to visit next.

It uses JSON-based rules embedded in HTML or HTTP headers, and is designed as a successor to older techniques such as Prefetch and the deprecated Prerender attribute.

Read more…

Headquarters

Cambridge, Massachusetts, United States
Mountain View, California, United States

Website

Categories

Standards › Rank #1
Standards › Rank #11
Performance Optimization › Rank #5

Popularity

Determined by the number of sites using each technology.

CSS is 6 times more popular than Speculation Rules.
Total websites

Market share

Standards

Popularity by country

Determined by the number of sites detected from each country.

CSS is more popular than Speculation Rules in all countries.
United States
Germany
United Kingdom
Japan
France
Spain
Italy
Netherlands
Russia
India

Awards

Popularity by domain category

Determined by the number of sites in each category.

CSS is more popular among sites focused on business, marketing and merchandising, and online shopping, while Speculation Rules is more commonly used on travel, fashion and beauty, and art, culture and heritage sites.
Business
Marketing/Merchandising
Online Shopping
Blogs/Wiki
Education/Reference
Internet Services
Entertainment
Health
General News
Software/Hardware

Top sites

Top-ranked sites that use these technologies.

Name
Rank
View more ➝
Name
Rank
View more ➝

See also

🗃️ About This Data