# Audit Report: Avaleht - Restate
**Website:** https://restate.ee/
**Date:** 13.11.2026
**Audit Coverage:** 100% — all sources returned data
**Confidence:** high
**Pages Audited (1 of 1):**
- https://restate.ee/
## Summary of results
**Overall Score:** 83 / 100
**Status:** 🟡 **Needs Improvement**
### What is pulling the score down
| Signal | Points | Evidence |
| --- | --- | --- |
| Security basics | −10 | FAILED: Strict-Transport-Security, Clickjacking protection, X-Content-Type-Options |
| HTML validation | −2 | 7 W3C errors |
| Performance 96 | −1.6 | weighted 40% of 4 points lost |
| Accessibility 95 | −1.5 | weighted 30% of 5 points lost |
| SEO 92 | −1.2 | weighted 15% of 8 points lost |
| Image delivery | −1 | PSI estimates 495 KiB image-delivery savings (mobile) |
| Advanced security headers | 0 | Failing: Content-Security-Policy present, CSP is strict, Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy, Cross-Origin-Resource-Policy |
| **Page score** | **83** | 100 − 17.3 → 83 |
Security basics FAILED (−10: HSTS, clickjacking protection and X-Content-Type-Options all missing) is by far the largest deduction; 7 W3C errors (−2) and 495 KiB of estimated image-delivery savings (−1) follow, while mobile Performance 96 and field LCP 887 ms are already strong.
### Per-page scores
🟡 **Needs Improvement** · https://restate.ee/
| Base | Score | Performance | Accessibility | Best Practices | SEO | Security |
| --- | --- | --- | --- | --- | --- | --- |
| 96 | 83 | 96 | 95 | 100 | 92 | FAILED |
## PageSpeed Insights — Mobile vs Desktop
_Lower is worse for Performance; higher is worse for LCP and CLS. Worse value is **bolded**._
| Strategy | Performance (M / D) | LCP (M / D) | CLS (M / D) |
| --- | --- | --- | --- |
| Mobile vs Desktop | **96** / 100 | **2.57 s** / 610 ms | 0.000 / 0.000 |
## Optimization Checklist
**6 of 7 passing** — 6 pass · 0 warn · 1 fail · 1 n/a
| Item | Status | Detail |
| --- | --- | --- |
| Page caching plugin / CDN active | **Pass** | Caching plugin detected (WP Rocket) |
| Response compressed (gzip / brotli) | **Pass** | Document response is compressed with gzip. |
| Images lazy-loaded | **Pass** | All non-hero raster images use loading="lazy". |
| Hero image eagerly loaded | **Fail** | Hero image has loading="lazy", which delays LCP (inferred from DOM order/size — Lighthouse LCP element unavailable). Use loading="eager" (or omit loading) and add fetchpriority="high". |
| Hero is a real
(not a CSS background-image) | N/A | No CSS background-images detected on raster-image-eligible elements. |
| Responsive images (srcset / ) | **Pass** | 6/6 raster images use srcset or (100%). |
| Reasonable number of image sizes | **Pass** | 6 distinct srcset widths. |
| JS scripts not blocking in | **Pass** | No render-blocking scripts in . |
## Fixes
### Priority 1: Critical
*Immediate action — impacts user experience, search rankings, or site safety.*
**1A. Add baseline security headers (HSTS, X-Frame-Options, X-Content-Type-Options)** `Security`
- **Impact:** Security basics row (−10), Transport security, clickjacking, MIME sniffing
- **Problem:** The Security basics verdict is FAILED because Strict-Transport-Security, clickjacking protection and X-Content-Type-Options are all missing from the response.
- **Solution:**
Send these from the origin (Apache example):
```
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "SAMEORIGIN"
```
If you later add a CSP, prefer `frame-ancestors 'self'` over X-Frame-Options.
**1B. Fix W3C validation errors** `Best Practices`
- **Impact:** HTML validation row (−2), HTML validity, parser robustness
- **Problem:** The W3C validator reports 7 errors, all of the same kind: a `
```
**3D. Add Referrer-Policy, Permissions-Policy, COOP and CORP** `Security`
- **Impact:** Information leakage, cross-origin isolation
- **Problem:** Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Cross-Origin-Resource-Policy are all missing; the advanced-headers row is currently scored as not warranted for this site type, so this is hardening rather than a must-fix.
- **Solution:**
```
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set Permissions-Policy "geolocation=(), microphone=(), camera=()"
Header always set Cross-Origin-Opener-Policy "same-origin"
Header always set Cross-Origin-Resource-Policy "same-origin"
```
**3E. Harden the Content-Security-Policy** `Security`
- **Impact:** XSS defense-in-depth
- **Problem:** No Content-Security-Policy is sent. The site has no auth, payments or user-generated content, so XSS impact is limited and this stays a best practice rather than a must-fix.
- **Solution:**
Deploy a nonce-based policy rather than a flat allowlist:
```
Content-Security-Policy: script-src 'nonce-{random}' 'strict-dynamic'; object-src 'none'; base-uri 'none'; frame-ancestors 'self'
```
Note the two jsDelivr scripts and Google Fonts will need nonces or self-hosting.
**3F. Add Subresource Integrity to third-party scripts** `Security`
- **Impact:** Supply-chain tampering
- **Problem:** Both cross-origin scripts (jsDelivr iframemanager and cookieconsent) lack an `integrity` attribute.
- **Solution:**
```html
```
Pin exact versions and generate the hash from the fetched file.
**3G. Hide server version headers** `Security`
- **Impact:** Fingerprinting
- **Problem:** The response discloses `Server: Apache / ZoneOS`, and the Security basics technology-disclosure check is a warning.
- **Solution:**
```
ServerTokens Prod
ServerSignature Off
Header unset X-Powered-By
```
**3H. Protect the WordPress login and installer** `Security`
- **Impact:** Brute force, takeover path
- **Problem:** `/wp-admin/install.php` is reachable and the login form is served on the default `/wp-login.php` path.
- **Solution:**
- Block the installer in `.htaccess`:
```
Require all denied
```
- Add login rate limiting / 2FA and consider moving the login path behind a plugin or basic auth.