How is the technical Score calculated?
The SEOJuice technical score (0-100) is made up of three main components plus bonus points:
1. Performance Score (35 points)
- Measures Core Web Vitals (20 points):
- LCP (Largest Contentful Paint): How fast the main content loads
- FID (First Input Delay): How quickly the page responds to clicks
- CLS (Cumulative Layout Shift): How stable the page is while loading
- Measures Page Speed (15 points):
- TTFB: Initial server response time
- DOM Load: How fast the page structure loads
- Full Load: Complete page load time
2. Resource Optimization (25 points)
- Checks JavaScript issues:
- Unminified files
- Render-blocking scripts
- Unused code
- Checks CSS issues:
- Unminified stylesheets
- Render-blocking styles
- Unused styles
- Checks Image issues:
- Uncompressed images
- Wrongly sized images
- Old image formats
- Evaluates compression and caching
3. Server & Security (30 points)
- Protocol features (10 points):
- HTTP/3 support
- HTTP/2 support
- DNS prefetch
- Resource preconnect
- Preload enabled
- Security features (20 points):
- SSL certificate
- HSTS enabled
- Modern TLS version
- Security headers
4. Bonus Points (up to 10 extra points)
- HTTP/3 enabled (+3)
- Critical CSS inlined (+2)
- Lazy loading enabled (+2)
- Perfect Core Web Vitals scores (+3)
The final score:
- Starts at 100
- Subtracts points for issues in each category
- Adds bonus points
- Is capped at 100 and floored at 0
- Is rounded to the nearest integer
The code includes safety checks to handle missing data and prevents errors if certain metrics aren't available.